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

Net_Socket::disconnect (  ) 

Disconnects from the peer, closes the socket.

public

Returns:
mixed true on success or an error object otherwise

Definition at line 159 of file Socket.php.

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

        @fclose($this->fp);
        $this->fp = null;
        return true;
    }


Generated by  Doxygen 1.6.0   Back to index