Larry Bates wrote:
My manual says that socket has a settimeout(value) but I don't
seem to find anything on socket.setdefaulttimeout method you
refer to.

Larry, the module has a setdefaulttimeout() function, while socket objects themselves have a settimeout().

To the OP: did you already create your socket object
before you called setdefaulttimeout()?  That setting
applies only to *new* sockets created after you call
the function...

-Peter
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to