Net_Socket::getStatus()

Net_Socket::getStatus() -- retrieve information about a connection

Synopsis

require_once 'Net/Socket.php';

array Net_Socket::getStatus ()

Beschreibung

Returns information about an existing socket resource.

Rückgabewert

array - the data as array or a PEAR_Error

The content of the array is:

Fehler-Meldungen

Tabelle 49-1. Mögliche Fehler-Arten

Error codeError messageReasonSolution
NULL„not connected“ There is no open connection. You must establish a connection before ( Net_Socket::connect()).

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.