mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-16 05:49:53 +02:00
Apparently, non-blocking connect doesn't work on windows if you use 0
timeout in the select call...
This commit is contained in:
@ -49,7 +49,7 @@ int sock_recvfrom(p_sock ps, char *data, size_t count,
|
||||
void sock_setnonblocking(p_sock ps);
|
||||
void sock_setblocking(p_sock ps);
|
||||
|
||||
int sock_waitfd(int fd, int sw, p_tm tm);
|
||||
int sock_waitfd(p_sock ps, int sw, p_tm tm);
|
||||
int sock_select(int n, fd_set *rfds, fd_set *wfds, fd_set *efds, p_tm tm);
|
||||
|
||||
int sock_connect(p_sock ps, SA *addr, socklen_t addr_len, p_tm tm);
|
||||
|
Reference in New Issue
Block a user