Net_Socket::getStatus()

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

Referentiesamenvatting

require_once 'Net/Socket.php';

array Net_Socket::getStatus ()

Beschrijving

Returns information about an existing socket resource.

Return waarde

array - the data as array or a PEAR_Error

The content of the array is:

Throws

Tabel 49-1. Mogelijke PEAR_Error waarden

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

Note

Deze functie kan niet statisch worden aangeroepen.