Introduction
Setup and Initialization
Connecting
Sending/Receiving Data
Closing and Cleanup
Definitions
Connecting to a Remote Host

Connecting to a remote host is very easy. Simply call the connect function as shown below. It is not necessary to use the connect function exactly as shown below. The return value can just as easily be stored and evaluated seperately.


If the connect function successfully connects to the remote host then you are now able to send and receive data. The connection will stay active until the remote host or you close the connection or the program exits.

Previous Page          Next Page