Net_Socket::connect()
Opis
Connect to the specified port. If called when the socket is already connected, it disconnects and connects again.
Zwracana wartość
boolean - Zwraca TRUE w przypadku powodzenia, PEAR_Error w przypadku niepowodzenia.
Wyjątki
Tabela 50-1. Możliwe wartości PEAR_Error
| Error code | Error message | Reason | Solution |
|---|---|---|---|
| every | every |
The connection could not be established because
| Check for server name, the connection to the net and possible firewalls on client or server side |
| Poprzedni | Spis treści | Następny |
| Net_Socket | Początek rozdziału | Net_Socket::disconnect() |