Revision f5b12268
b/vl.c | ||
---|---|---|
2850 | 2850 |
if (err == EINTR || err == EWOULDBLOCK) { |
2851 | 2851 |
} else if (err == EINPROGRESS) { |
2852 | 2852 |
break; |
2853 |
#ifdef _WIN32 |
|
2854 |
} else if (err == WSAEALREADY) { |
|
2855 |
break; |
|
2856 |
#endif |
|
2853 | 2857 |
} else { |
2854 | 2858 |
goto fail; |
2855 | 2859 |
} |
... | ... | |
4017 | 4021 |
if (err == EINTR || err == EWOULDBLOCK) { |
4018 | 4022 |
} else if (err == EINPROGRESS) { |
4019 | 4023 |
break; |
4024 |
#ifdef _WIN32 |
|
4025 |
} else if (err == WSAEALREADY) { |
|
4026 |
break; |
|
4027 |
#endif |
|
4020 | 4028 |
} else { |
4021 | 4029 |
perror("connect"); |
4022 | 4030 |
closesocket(fd); |
Also available in: Unified diff