A socket becomes readable after connect in Linux 2.4 (even for
connection refused).
This commit is contained in:
parent
7a01b38321
commit
23e271488c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue