commit | b76bdf8ef7044145efb0bc74d513c867d29af4d1 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Feb 19 17:50:16 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Feb 19 17:50:16 2003 +0000 |
tree | 986f9e8a7ff44ebfeb912424163c87e1e8ddf06e | |
parent | 2ffec02b48e3cfb5209eb79eff80d0fb5ca8df38 [diff] |
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).