Steve Holden wrote: > Jarek Zgoda wrote: >> hg napisa?(a): >> >>> I am looking for the most efficient / cleanest way to implement a socket >>> read with timeout (Windows mainly but would be great if the same code >>> worked under *nix) >> >> Did you see http://www.timo-tasi.org/python/timeoutsocket.py ? >> > Note that since 2.4, I believe, sockets in the standard library allow > you to specify a timeout parameter. > > regards > Steve > -- > Steve Holden +44 150 684 7255 +1 800 494 3119 > Holden Web LLC/Ltd http://www.holdenweb.com > Skype: holdenweb http://del.icio.us/steve.holden > Recent Ramblings http://holdenweb.blogspot.com
Hi and thanks to all. Do you mean use select ? Thanks, hg -- http://mail.python.org/mailman/listinfo/python-list