| 1207 | } |
| 1208 | |
| 1209 | bool IsNonBlock(SOCKET fd) { |
| 1210 | #if defined(_unix_) |
| 1211 | return FlagsAreEnabled(fd, O_NONBLOCK); |
| 1212 | #elif defined(_win_) |
| 1213 | return IsNonBlockSocket(fd); |
| 1214 | #else |
| 1215 | #error todo |
| 1216 | #endif |
| 1217 | } |
| 1218 | |
| 1219 | void SetDeferAccept(SOCKET s) { |
| 1220 | (void)s; |
nothing calls this directly
no test coverage detected