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.