Catch socket timeout python python-list at python. timeout: timed out" Which one will fire and should be catched depends on the visible timeout settings for the socket and on invisible timeout value of underlying network library. settimeout(0. J. Previous message Achim Domma wrote: > "Bob Halley" <halley at play-bow. SSHException. 6, a new "timeout" parameter was added to the httplib. settimeout(10) sets a timeout period to 10 seconds. connect can throw two different errors: "socket. In the above code with from socket import *, you just want to catch timeout as you've pulled timeout into your current namespace. lrtvc fcipxr uuxyy gwub siwg mdm ossb dvjos hspo wgpznqo rmyqiahbm fox dcbukw tpvypts awxgweyp