Net_Socket::connect() -- connects to a server
Beschreibung
Connect to the specified port. If called when the socket is
already connected, it disconnects and connects again.
Rückgabewert
boolean - Gibt bei Erfolg TRUE zurück, bei einem Fehler
ein Objekt der Klasse PEAR_Error.
Fehler-Meldungen
Tabelle 54-1. Mögliche Fehler-Arten
| Error code | Error message | Reason | Solution |
|---|
| every | every |
The connection could not be established because
wrong server name or adress the host itself is not link to a network a firewall does not allow an access
|
Check for server name, the connection to the net and possible
firewalls on client or server side
|
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.