Авторизация
Поиск по указателям
Goerzen J. — Foundations of Python Network Programming
Обсудите книгу на научном форуме
Нашли опечатку? Выделите ее мышкой и нажмите Ctrl+Enter
Название: Foundations of Python Network Programming
Автор: Goerzen J.
Аннотация: To guide readers through the new scripting language, Python, this book discusses every aspect of client and server programming. And as Python begins to replace Perl as a favorite programming language, this book will benefit scripters and serious application developers who want a feature-rich, yet simple language, for deploying their products.
The text explains multitasking network servers using several models, including forking, threading, and non-blocking sockets. Furthermore, the extensive examples demonstrate important concepts and practices, and provide a cadre of fully-functioning stand alone programs. Readers may even use the provided examples as building blocks to create their own software.
Язык:
Рубрика: Технология /
Статус предметного указателя: Готов указатель с номерами страниц
ed2k: ed2k stats
Год издания: 2004
Количество страниц: 512
Добавлена в каталог: 14.11.2009
Операции: Положить на полку |
Скопировать ссылку для форума | Скопировать ID
Предметный указатель
Path parameter 47
PATH_INFO environment variable 374 375 377—378 380
Peek 245
PERMANENTFLAGS summary item 240
Physical transports 9
pickle module 159 361
PID (process ID) 420—421 421 484
Plain encoding 181
Point to Point Protocol (PPP) 9
poll() 104—109 469 470 474 475 476 481 485
POLLERR option 106
POLLHUP option 106
POLLIN option 106
POLLNVAL option 106
POLLOUT option 106
POLLPRI option 106
POP (Post Office Protocol) 211—222
POP (Post Office Protocol), connecting and authenticating 212—214
POP (Post Office Protocol), deleting messages 218—221
POP (Post Office Protocol), downloading messages 216—218
POP (Post Office Protocol), obtaining mailbox information 215—216
POP (Post Office Protocol), overview 211
POP3 object 212
poplib module 211 216
poplib.error_prot() 212
Port name 3—4 21
port number 4
Port option 49
Port parameter 47 299
POST method 342 387
POST method and mod_python 410—412
POST method, CGI 380—383
POST method, submitting form data with 120—121
Post Office Protocol see "POP (Post Office Protocol)"
PostgreSQL, connecting 298
pow() 357 358
PPP (Point to Point Protocol) 9
Prebuilt handlers, in mod_python 415
print statement 372
printf() 306
printpart() 260
printqueryresult() 267
printx509() 335
print_day_quiz() 382
Private key 325
process id (PID) 420—421 484
processclients() 460 461 462
Producer/consumer problem 453
Protocol class 227 448
Protocol object 231 448
Protocol option 49
ps command 420 424
PSP (Python Server Pages) handler 415
psycopg connect() 298
psycopg module 298
PTR record 76 82
Public-key cryptography 325
Publisher handler 404 415
pwd module 159
pwd() 278
PyDNS 65
PyDNS, using for advanced lookups 76—85
PyDNS, using for advanced lookups, DNS records 76—77
PyDNS, using for advanced lookups, installing PyDNS 77
PyDNS, using for advanced lookups, querying specific name servers 79—81
PyDNS, using for advanced lookups, resolving lookup results 82—85
PyDNS, using for advanced lookups, simple PyDNS queries 77—79
pyformat style 307 308
pyOpenSSL 326 330
Python 2.1 301
Python Database Topic Guide 296
Python Server Pages (PSP) handler 415
PythonDebug line 399
PythonHandler 400—401
PythonHandler test line 399
PythonInterpPerDirective configuration directive 414
PythonInterpPerDirectory configuration directive 414
PythonInterpreter configuration directive 414
qmark style 306 307
qtype argument 77
Query() 263
quit() 212 218 278
Quoted-printable encoding 181
race conditions 436 447
rcpt to command 202
reactor.run() 227
reactor.stop() 227 231
read() 19 23 122 123 281 327
readevent() 474 475 476
readLine() 23 91 281
readlines() 13
reap() 429 432
Reaping 427
Received headers 176
Received headers (MIME) 171
RECENT summary item 240
Recursive name server 65
recv() 19 23 26 29 33 38 63 90 104 105 281
recvfrom() 23 33 44 52 53
Red Hat 46
release() 448 450 452
Reliable protocol 5
Remote Method Invocation (RMI) 159
Remote Procedure Call (RPC) server 159 355
REMOTE_ADDR environment variable 374
REMOTE_HOST environment variable 374
REMOTE_USER environment variable 388
removeFlags() 252
rename() 294
Renaming files (FTP) 294
replay attacks 323
Reply-To header (MIME) 173
repr() 94
req() 77
req.pathjnfo file 405 407
req.write() 400 407
Request object 114 115
Request variable 352
RequestHandler instance 342
Resolver libraries 66
RETR command 283
retr() 216 217
retrbinary() 279 283
retrieving data 310—313
Retrieving data, using fetchall() 310—311
Retrieving data, using fetchmany() 311—312
Retrieving data, using fetchone() 312—313
Retrieving message parts (IMAP) 255—262
Retrieving message parts (IMAP), finding message structures 256—260
Retrieving message parts (IMAP), retrieving numbered parts 260—262
retrlines() 278
RFC2109 389
RFC3501 225 228 249
RFC86 33
RFC959 275
rfile object 351
rfile variable 342
rmd() 293
RMI (Remote Method Invocation) 159
rollback() 303 305
Rowcount attribute 315
RPC (Remote Procedure Call) server 159 355
run() 488
runquery() 267
RuntimeError exceptions 60
s.has_extn() 205 209
s.sendall() 12
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1) call 95
SampleScanner class 151
SAX 154 157
Scanning folders (FTP) 284—290
scanNode() 151
SCRIPT_NAME environment variable 377
Search keywords 264
search() 262—263 267
Secure attribute 389
Secure Sockets Layer see "SSL (Secure Sockets Layer)"
Secure Sockets Layer (SSL) 6
select() 104—109 239 240 469
Self, data 137
self.logout() 235
self.processing flag 136
self.stopreactor callback 231 235
self.taglevels list 136—137
Semaphore 450
Semaphore object 452
SEND text 476 480
send() 12 19 23 29 30 63 104 471 474 475
sendall() 26 28 90 327 470 471
Sender line 171
sendmail command line 172
sendmail() 198—199 203 207 209
sendto() 23 33 44
send_header() 342
send_response() 342
send_selector() 15
Server certificates, verifying with OpenSSL 331—338
Server certificates, verifying with OpenSSL, obtaining root certificate authority certificates 332
Server certificates, verifying with OpenSSL, overview 331
Server certificates, verifying with OpenSSL, verifying the certificates 332—338
Server option 49
Server-side port numbers 7
server_args option 49
SERVER_NAME environment variable 375
SERVER_PORT environment variable 375
serve_forever() 342 367
Service declaration 48
Session hijacking 323
Session token 388
setCookie() 391 392
setDaemon() 445
setFlags() 252
setsockopt() 37 96
setsockopt(2) manpage 38
settimeout() 25 89
set_server_... functions 365
set_verify() 335
SGML 147
SGML (Standard Generalized Markup Language) 145
SGML Framework 128
SGML tag 145
Shared variables, and threading 446—447
shutdown() 26—28 29 31 43 88
SIGCHLD signal 423 427
SIGINT signal 457
signal.signal() 428
Simple API for XML (SAX) 148
Simple message transport protocol see "SMTP (simple message transport protocol)" "SMTP
Simple Object Access Protocol (SOAP) 159
SimpleCookie object 391 392
SimpleHTTPServer 348—349
SimpleHTTPServer module 345
SimpleXMLRPCServer 355—368
SimpleXMLRPCServer, basics 356—358
SimpleXMLRPCServer, CGIXMLRPCRequestHandler 365—367
SimpleXMLRPCServer, DocXMLRPCServer 364—365
SimpleXMLRPCServer, exploiting class features 361—363
SimpleXMLRPCServer, overview 355—356
SimpleXMLRPCServer, serving functions 359—360
Single-threaded program 444
sleep() 455 463
SMTP (simple message transport protocol) 197—210
SMTP (simple message transport protocol), authenticating 208—209
SMTP (simple message transport protocol), error handling and conversation debugging 199—202
SMTP (simple message transport protocol), exchange 171 172
SMTP (simple message transport protocol), getting information from EHLO 202—204
SMTP (simple message transport protocol), overview 197
SMTP (simple message transport protocol), SMTP library 197—199
SMTP (simple message transport protocol), tips 209—210
SMTP (simple message transport protocol), using secure sockets layer and transport layer security 205—208
smtplib module 197 199 202 208 210
smtplib.SMTP object 198
smtplib.SMTPException 199
smtpobj.set_debuglevel(1) call 199
sniffing 322 323
SOA records SOA = Start of Authority 76
sockaddr data 67 68
Socket module 20 66 94 326
Socket objects 23
socket() 19
socket(7) manpage 38
socket.AF_INET socket 98
socket.AF_INET6 socket 98
socket.connect() 67
socket.error 199
socket.error exception 25 26 104 123 283
socket.fromfd() 51
socket.gaierror 199
socket.gaierror exception 11 25 26
socket.getaddrinfo() 67—69
socket.getfqdn() 74—75
socket.gethostbyname() 67
socket.gethostname() 74—75
socket.getservbyname() 32
socket.herror exception 25
socket.herror() 71 199
socket.makefile() 351
socket.socket() 10 14 51 67
socket.SOCK_STREAM protocol type 69—70
socket.timeout exception 25 89 90
Sockets, binding 39
Sockets, communicating with 23
Sockets, creating 20—22
Sockets, creating socket object 36
Sockets, overview 19—20
Sockets, setting and getting socket options 36—38
SocketServer 341—354
SocketServer, BaseHTTPServer 341—348
SocketServer, BaseHTTPServer, handling multiple requests simultaneously 346—348
SocketServer, BaseHTTPServer, handling requests for specific documents 343—346
SocketServer, BaseHTTPServer, overview 341—343
SocketServer, CGIHTTPServer 349—350
SocketServer, implementing new protocols 350—352
SocketServer, IPv6 352—353
SocketServer, overview 341
SocketServer, SimpleHTTPServer 348—349
socket_type option 49
SOCK_DGRAM protocol 20 32 100
SOCK_STREAM protocol family 20 32
SOCK_STREAM socket type 99 100
SOL_SOCKET socket options 37
sort() 360
sortlist() 360
SO_BINDTODEVICE option 37
SO_BROADCAST option 37
SO_DONTROUTE option 37
SO_KEEPALIVE option 38
SO_OOBINLINE option 38
SO_REUSEADDR flag 351
SO_REUSEADDR socket object 36—37 38
SO_TYPE option 38
Spam scanner 172
Special characters, escaping (CGI) 383—385
spin() 466 467
Spinner 466
split() 215
SQL 295 296—297
srvr.register_introspection_functions() 365
srvr.register_multicall_functions() 367
SSL (Secure Sockets Layer) 321—338
Реклама