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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a40c1c2994f596b6a769201b71c54e0530e7220;p=python Add XXX about Winsock error values --- diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 2c94813f25..90be4d342e 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):