Socket sample?
Robert Brewer
fumanchu at amor.org
Wed May 19 12:59:26 EDT 2004
Daniel Orner wrote:
> I'm a newcomer to socket programming... I need to use a
> server socket
> which should be able to handle more than one connection at a
> time. I've
> read the HOWTO, but I'm still a bit confused about some of the more
> intimate details. I've also seen a few pieces of sample code
> scattered
> here and there, but nothing substantial.
> Does anyone know of some sample code that handles
> multiple connections
> (either by using select() or forking/threading processes)?
Hopefully, it'll use both. ;)
My distro has a file in Python23/Lib called "SocketServer.py". Have a
look through there if you have it--there are a couple of threaded server
classes.
FuManChu
More information about the Python-list
mailing list