Replace fcntl(F_GETFL) / fcntl(F_SETFL, O_NONBLOCK) with ioctlsocket
| 52 | #define MSG_DONTWAIT 0 |
| 53 | #define SHUT_RDWR SD_BOTH |
| 54 | #define socklen_t int |
| 55 | #define poll(fds,nfds,timeout) WSAPoll(fds,nfds,timeout) |
| 56 | // Replace fcntl(F_GETFL) / fcntl(F_SETFL, O_NONBLOCK) with ioctlsocket |
| 57 | static inline int sock_get_flags(SocketHandle fd) { (void)fd; return 0; /* stub */ } |
no outgoing calls
no test coverage detected