Chapter 8: Interprocess communication using UNIX domain sockets
Table of contents
Chapter 8: Interprocess communication using UNIX domain sockets
Socket types (UNIX domain)
Stream sockets
Datagram sockets
Creating a socket (UNIX domain)
Socket creation errors (UNIX domain)
Binding socket names (UNIX domain)
Making a connection (UNIX domain)
The server (UNIX domain)
Accepting a connection (UNIX domain)
Connection errors (UNIX domain)
Transferring data via a socket (UNIX domain)
Closing sockets and discarding queued data (UNIX domain)
Connectionless sockets (UNIX domain)
Sending from datagram sockets (UNIX domain)
Receiving on datagram sockets (UNIX domain)
Using connect on a datagram socket (UNIX domain)
Input/Output multiplexing (UNIX domain)
Socketpairs (UNIX domain only)
Networking library routines for UNIX sockets
Manipulating byte strings (UNIX domain)
Error handling in programming (UNIX domain)
Socket error indications (UNIX domain)
List of error codes
Socket Tutorial (UNIX domain)
Creating a socket (UNIX domain)
Address structures (UNIX domain)
Elementary system calls (UNIX domain)
Code samples (UNIX domain)
Datagrams in the UNIX domain
Socketpair sample code (UNIX only)