Tell whether the socket is in blocking or non-blocking mode.
In blocking mode, calls will not return until they have completed their
task. For example, a call to receive in blocking mode won't return
until some data was actually received.
In non-blocking mode, calls will
always return immediately, using the return code to signal whether there
was data available or not. By default, all sockets are blocking.
Tell whether the socket is in blocking or non-blocking mode.
In blocking mode, calls will not return until they have completed their task. For example, a call to receive in blocking mode won't return until some data was actually received.
In non-blocking mode, calls will always return immediately, using the return code to signal whether there was data available or not. By default, all sockets are blocking.