public function setBlocking(int $mode): bool
	{
		if ($this->connected() === false)
		{
			throw new \Exception('Not connected');
		}

		return stream_set_blocking($this->connection, $mode);
	}
public function setBlocking(int $mode): bool
	{
		if ($this->connected() === false)
		{
			throw new \Exception('Not connected');
		}

		return stream_set_blocking($this->connection, $mode);
	}
public function setBlocking ( int $ mode ) : bool { if ( $ this -> connected ( ) === false ) { throw new \ Exception ( 'Not connected' ) ; } return stream_set_blocking ( $ this -> connection , $ mode ) ; }
Set the mode of stream-blocking.
@param int $mode
@return bool
@throws \Exception
Set the mode of stream - blocking .