From 9a40c1c2994f596b6a769201b71c54e0530e7220 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 26 Dec 2002 18:22:54 +0000 Subject: [PATCH] Add XXX about Winsock error values --- Lib/asyncore.py | 1 + 1 file changed, 1 insertion(+) 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): -- 2.40.0