Programming for the Sockets API - Contents
Want to know how TCPIP programs are typically put together, what the intracacies of client and server programming involve,
then this tutorial is for you.
The following sections are designed to be read
in order, however, with just a little knowledge you should be able to jump directly to a
section that interests you.
Don't really know what sockets are or how APIs work, then start here.
The start to any communications on the API, obtaining a socket.
Establishing client connections.
Concepts for sending and receiving data.
Listening for and accepting connection requests.
Avoiding hangs and enabling multiple connections on a single thread.
Terminating a connection in an orderly manner and closing the socket.
The full program examples from which the snippets used in the tutorial have been taken.