From: Guido van Rossum Date: Thu, 26 Dec 2002 18:22:54 +0000 (+0000) Subject: Add XXX about Winsock error values X-Git-Tag: v2.3c1~2873 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9a40c1c2994f596b6a769201b71c54e0530e7220;p=thirdparty%2FPython%2Fcpython.git Add XXX about Winsock error values --- diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 2c94813f25ba..90be4d342e5f 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -302,6 +302,7 @@ class dispatcher: def connect(self, address): self.connected = 0 err = self.socket.connect_ex(address) + # XXX Should interpret Winsock return values if err in (EINPROGRESS, EALREADY, EWOULDBLOCK): return if err in (0, EISCONN):