| Net_Socket::gets() (Previous) | (Next) Net_Socket::isBlocking() | ||||
| |
|||||
|
|||||
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
Tabla 50-1. Posibles valores de PEAR_Error
| Error code | Error message | Reason | Solution |
|---|---|---|---|
| NULL | "not connected" | There is no open connection. | You must establish a connection before ( Net_Socket::connect()). |
| Net_Socket::gets() (Previous) | (Next) Net_Socket::isBlocking() | ||||||||
| |
|||||||||
|
|||||||||