This chapter describes the socket interface. Sample programs are included to illustrate key points. The following topics are discussed in this chapter:
Socket creation, connection, and closure are discussed in Socket Basics.
Client-Server architecture is discussed in Client-Server Programs.
Advanced topics such as multicast and asynchronous sockets are discussed in Advanced Socket Topics.
Interfaces used to implement the Stream Control Transmission Protocol (SCTP) are discussed in Stream Control Transmission Protocol.