lithium\net\Socket::timeout()

abstract public method

Sets the timeout on the socket connection.

Parameters

  • integer $time

    Seconds after the connection times out.

Returns

Boolean

true if timeout has been set, false otherwise.

Source

	abstract public function timeout($time);