Basic client/server with sockets

Andrew Bennetts andrew-pythonlist at puzzling.org
Mon Feb 10 20:44:27 EST 2003


On Tue, Feb 11, 2003 at 01:27:11AM +0100, Irmen de Jong wrote:
> Andrew Bennetts wrote:
> >On Mon, Feb 10, 2003 at 02:10:35PM -0800, Natan wrote:
> >
> >>I'm new to python ans i have a script like this:
> >
> >
> >I recommend writing your server using Twisted <http://twistedmatrix.com> --
> >it will take care of problems like this for you, leaving you to worry about
> >the logic of your protocol, rather than the details of the socket API.
> 
> When using Pyro (http://pyro.sourceforge.net) you don't even
> have to worry about the protocol ;-)

Well, ditto with Twisted ;)

It not only implements many common protocols for you (HTTP, POP, SMTP, SSH,
FTP, ...), it has its own remote object protocol (Perspective Broker) :)

I strongly recommend taking a look, if you haven't already.

-Andrew.






More information about the Python-list mailing list