Chapter 2. An Overview of the Socket API
The previous chapter focused on modeling the design space of networked application communication, which provides many opportunities to address inherent complexities. This chapter starts delving into the solution space, beginning with the most common interprocess communication (IPC) mechanism: sockets. We describe the Socket API and its use with TCP/IP, followed by an analysis of common accidental complexities encountered when developers program their networked applications using native OS APIs.
2.1 An Overview of Operating System IPC Mechanisms
Networked applications require interprocess communication (IPC) mechanisms to enable clients and servers to exchange information. The IPC mechanisms ...