]> granicus.if.org Git - python/commit
The connect timeout code wasn't working on Windows.
authorGuido van Rossum <guido@python.org>
Wed, 19 Feb 2003 17:50:16 +0000 (17:50 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 19 Feb 2003 17:50:16 +0000 (17:50 +0000)
commitb76bdf8ef7044145efb0bc74d513c867d29af4d1
tree986f9e8a7ff44ebfeb912424163c87e1e8ddf06e
parent2ffec02b48e3cfb5209eb79eff80d0fb5ca8df38
The connect timeout code wasn't working on Windows.

Rather than trying to second-guess the various error returns
of a second connect(), use select() to determine whether the
socket becomes writable (which means connected).
Modules/socketmodule.c