require_once 'Net/Socket.php';
array Net_Socket::getStatus ()
array Net_Socket::getStatus
Returns information about an existing socket resource.
array - the data as array or a PEAR_Error
The content of the array is:
boolean 'timed_out' - the socket timed out waiting for data
boolean 'blocked' - blocking mode
boolean 'eof' - indicates EOF event
integer 'unread_bytes' - number of bytes left in the socket buffer
Table 48-1. Possible PEAR_Error values
This function can not be called statically.