catch non-blocking socket exceptions

Axel Bock news-and-lists at the-me.de
Thu Jun 26 11:45:25 EDT 2003


Am Thu, 26 Jun 2003 11:17:02 -0400 schrieb Peter Hansen:

> Check out these pages for some background (especially page four on
> non-blocking sockets):
> 
>   http://www.mcmillan-inc.com/sock1.html

great link :-) i forgot about select I admit ...

> But consider just using Twisted and letting all this stuff be handled
> for you...  no sense reinventing the wheel in an area that is
> notoriously difficult to do right.

hm. twisted. yeah.
I tried it for the udp approach for the same problem, and ended up writing
the stuff by myself - the udp thing in twisted is rather ... twisted :-)
(and I do not consider the documentation/howtos/examples to be useful for
beginners in any way).

for tcp it might be worth a try ... although its really a quite simple
problem and twisted a rather large solution  :-)


thanks, 

		axel.




More information about the Python-list mailing list