Net_Socket::setTimeout()
Описание
Sets the timeout value on socket descriptor, expressed in the sum of seconds and microseconds.
Throws
Таблица 50-1. Возможные значения 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::setBlocking() | Уровень выше | Net_Socket::write() |