SocketSetNonBlocking
Description
Toggle non-blocking mode on a socket fd.
Success
Returns true. The fd is in the requested mode.
Failure
Returns false. The fd is unchanged; the failing syscall is logged.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Socket.c:1062:
// ---------------------------------------------------------------------------
bool SocketSetNonBlocking(SockFd fd, bool nonblock) {
return plat_set_nonblocking(fd, nonblock);
}
Last updated on