UNIX Sockets References
As a source of examples of UNIX network code, we've put
An Introductory 4.4BSD Interprocess
Communication Tutorial
on line. This document is really sections 1, 2, 5, 7, and 9 of
a larger
postscript document,
the rest of which you may also find interesting.
If you need more help, you may find these books helpful:
-
UNIX Network Programming by
W. Richard Stevens, Prentice Hall, 1990.
-
Using C on the UNIX
System by David Curry, O'Reilly & Associates.
-
Advanced Programming in the UNIX Environment
by W. Richard Stevens, Prentice Hall, 1992.
-
An Advanced 4.4BSD
Interprocess Communication Tutorial,
by Leffler, Fabry, Joy, Lapsley, Miller, and Torek.
If you cannot find these, look for a book which discusses
the UNIX system calls
socket, bind, sendto, recvfrom, and select.