Net_NNTP::isConnected() -- check connection status
Description
Returns the status of the connection
Return value
boolean - TRUE, if connected
Note
This function can not be called
statically.
Example
Example 38-1. Using isConnected() ...
if(PEAR::isError($response)) {
// something goes wrong, check if we are still connected
if($nntp->isConnected()) {
echo "disconnected from newsserver!"
...
}
} |
|