Socket communications

Rene Pijlman reageer.in at de.nieuwsgroep
Thu Jan 16 09:00:02 EST 2003


Stefano Covino:
>I would like to develop an application that requires to open socket 
>connections from/to other computers. 
>Therefore I wonder if you know if there are libraries with some or 
>most of the code already developed.

That depends on the protocol you want to implement. FTP? HTTP?
SMTP? NNTP? ...? Client side or server side?

You could have a look at the source code of modules such as
http://www.python.org/doc/current/lib/module-httplib.html and
http://www.python.org/doc/current/lib/module-BaseHTTPServer.html.

And this may be of use to you:
http://www.amk.ca/python/howto/sockets/
http://www.python.org/doc/current/lib/module-SocketServer.html

-- 
René Pijlman

Wat wil jij leren?  http://www.leren.nl




More information about the Python-list mailing list