]> granicus.if.org Git - python/commit
internal_connect(): Windows. When sock_timeout > 0 and connect() yields
authorTim Peters <tim.peters@gmail.com>
Tue, 6 Aug 2002 22:25:02 +0000 (22:25 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 6 Aug 2002 22:25:02 +0000 (22:25 +0000)
commit5814187f5b4d1a956c9719de1538865694677b55
tree0bb6b7255bda1134601e88603a8e58b279700534
parentd37f75b88a5a861912a18f47ea993a861fb167fe
internal_connect():  Windows.  When sock_timeout > 0 and connect() yields
WSAEWOULDBLOCK, the second connect() attempt appears to yield WSAEISCONN
on Win98 but WSAEINVAL on Win2K.  So accept either as meaning "yawn,
fine".  This allows test_socket to succeed on my Win2K box (which it
already did on my Win98SE box).
Modules/socketmodule.c