Fix issue #13694: asynchronous connect in asyncore.dispatcher does not set addr.
diff --git a/Lib/asyncore.py b/Lib/asyncore.py
index 920444d..d20609d 100644
--- a/Lib/asyncore.py
+++ b/Lib/asyncore.py
@@ -337,6 +337,7 @@
         err = self.socket.connect_ex(address)
         if err in (EINPROGRESS, EALREADY, EWOULDBLOCK) \
         or err == EINVAL and os.name in ('nt', 'ce'):
+            self.addr = address
             return
         if err in (0, EISCONN):
             self.addr = address