| 55 | static inline void sock_set_nonblock(int fd) { u_long m = 1; ioctlsocket(SOCK_FD(fd), FIONBIO, &m); } |
| 56 | static inline void sock_set_block(int fd) { u_long m = 0; ioctlsocket(SOCK_FD(fd), FIONBIO, &m); } |
| 57 | static inline void socket_close(int fd) { closesocket(SOCK_FD(fd)); } |
| 58 | #define SETSOCKOPT_CAST (const char *) |
| 59 | static inline const char* sock_strerror() { |
| 60 | static thread_local char buf[64]; |
no outgoing calls
no test coverage detected