Net_Socket::connect() | Net_Socket::eof() |
Net_Socket | |
PEAR Manual | |
require_once 'Net/Socket.php'; |
boolean Net_Socket::disconnect (
)
Disconnects froms server, closes the socket.
boolean - Returns TRUE on success, PEAR_Error on failure.
Error code | Error message | Reason | Solution |
NULL | "not connected" | The connection to close was not open or is already closed. | Ensure a successfull call of connect() |
This function can not be called statically.
Net_Socket::connect() | Net_Socket::eof() |
Net_Socket | |
PEAR Manual | |