[issue5293] socket timeouts even in blocking mode
Gregory P. Smith
report at bugs.python.org
Tue Feb 17 20:19:19 CET 2009
Gregory P. Smith <greg at krypto.org> added the comment:
You can't use a connect() call for the purpose of waiting for your
network to be up. This has nothing to do with Python. This is how all
network APIs work regardless of OS and language.
The "timeout" is due to the network stack being unable to find the
remote host (read up on ARP) and eventually returning an error. You
need to deal with that in your own code.
resolution: -> invalid
status: open -> closed
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list