Net_NNTP::isConnected() -- check connection status
Beschreibung
Returns the status of the connection
Rückgabewert
boolean - TRUE, if connected
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.
Beispiel
Beispiel 49-1. Using isConnected() ...
if(PEAR::isError($response)) {
// something goes wrong, check if we are still connected
if($nntp->isConnected()) {
echo "disconnected from newsserver!"
...
}
} |
|