*** socketmodule.c.orig Fri Jul 26 06:47:56 2002 --- socketmodule.c Thu Aug 1 22:14:26 2002 *************** *** 1315,1320 **** --- 1315,1322 ---- if (res < 0 && errno == EINPROGRESS) { internal_select(s, 1); res = connect(s->sock_fd, addr, addrlen); + if (res < 0 && errno == EISCONN) + res = 0; } }