Resolving 10060, 'Operation timed out'

willitfw willitfw at gmail.com
Wed Apr 20 13:39:37 EDT 2005


Does anyone know how to prevent this error from occurring: IOError:
[Errno socket error] (10060, 'Operation timed out').

I am using the following code without any luck.  Obviously I am missing
something.

import socket
socket.setdefaulttimeout(20)

Thank you in advance.

Tom Williams




More information about the Python-list mailing list