Refrences and Examples
TCP/IP Socket P rogramming Example
Here you can find an exelant tutorial for socket programming.
(For a local postscript copy of the original.)
Fore-Atm Socket API
This example is based on
A similar course (your assignment documentation should look something like this
Includes a turtorial to many subjects in networking.