Socket sample?

Diez B. Roggisch deetsNOSPAM at web.de
Wed May 19 13:15:39 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)?
> Thanks very much!

use twisted - its well worth the effort, and supports the things you need.

-- 
Regards,

Diez B. Roggisch



More information about the Python-list mailing list