Logo Search packages:      
Sourcecode: egroupware-egw-pear version File versions  Download package

Net_Socket::setTimeout ( seconds,

Sets the timeout value on socket descriptor, expressed in the sum of seconds and microseconds

integer $seconds Seconds.
integer $microseconds Microseconds. public
mixed true on success or an error object otherwise

Definition at line 211 of file Socket.php.

        if (!is_resource($this->fp)) {
            return $this->raiseError('not connected');

        return socket_set_timeout($this->fp, $seconds, $microseconds);

Generated by  Doxygen 1.6.0   Back to index