(PHP 4 >= 4.3.0, PHP 5, PHP 7)
Set blocking/non-blocking mode on a stream
bool stream_set_blocking ( resource $stream, bool $mode )
Sets blocking or non-blocking mode on a stream.
This function works for any stream that supports non-blocking mode (currently, regular files and socket streams).
Parameters:
stream
The stream.
mode
If