From 23e271488cb3b0257477b15c8c75e5d0f4a70092 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 2 Jan 2001 20:35:41 +0000 Subject: [PATCH] A socket becomes readable after connect in Linux 2.4 (even for connection refused). --- dlls/winsock/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winsock/socket.c b/dlls/winsock/socket.c index 0649433f17b..d0a09e8f4fd 100644 --- a/dlls/winsock/socket.c +++ b/dlls/winsock/socket.c @@ -1019,7 +1019,7 @@ INT WINAPI WSOCK32_connect(SOCKET s, struct sockaddr *name, INT namelen) { int result; /* block here */ - do_block(fd, 6); + do_block(fd, 7); _sync_sock_state(s); /* let wineserver notice connection */ /* retrieve any error codes from it */ result = _get_sock_error(s, FD_CONNECT_BIT);