Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PSocket::Connect ( const PString address  )  [virtual]

Connect a socket to a remote host on the specified port number. This is typically used by the client or initiator of a communications channel. This connects to a "listening" socket at the other end of the communications channel.

Use the SetReadTimeout function to set a maximum time for the Connect

TRUE if the channel was successfully connected to the remote host.
address  Address of remote machine to connect to.

Reimplemented in PSocksSocket, PSocksUDPSocket, PTelnetSocket, PEthSocket, PIPSocket, PIPXSocket, and PUDPSocket.

Definition at line 1455 of file sockets.cxx.

  PAssertAlways("Illegal operation.");
  return FALSE;

Generated by  Doxygen 1.6.0   Back to index