March 2002
Intermediate to advanced
528 pages
21h 29m
English
socket_set_blocking
int socket_set_blocking(resourcesocket, boolmode)
If mode is true, sets
socket to blocking mode; if
mode is false, sets
socket to nonblocking mode. In blocking
mode, functions that get data from a socket (such as fgets( )) wait for data to become available in the socket before
returning. In nonblocking mode, such calls return immediately, even
when the result is empty.
Read now
Unlock full access