timeout and sockets example request??

Dave Brueck dave at pythonapocrypha.com
Fri Jul 23 21:58:28 CEST 2004

Ishwar Rattan wrote:
> Dave Brueck <dave at pythonapocrypha.com> wrote in message news:<mailman.724.1090525178.5135.python-list at python.org>...
>>Ishwar Rattan wrote:
>>What version of Python are you using? Could you post some code showing 
>>what didn't work? Here's why I ask:
>>Python 2.3.4 (#53, May 25 2004, 21:17:02)...
>>Type "help", "copyright", "credits" or "l...
>> >>> from socket import *
>> >>> s = socket(AF_INET, SOCK_STREAM)
>> >>> s.settimeout(5)
>> >>>
>>(no errors)
> Thanks for the example. It comes out that I ws running python-2.2.3 :-(

Note that if you can't upgrade to 2.3, timeoutsocket.py is a good 



More information about the Python-list mailing list