Designing a program to use datagram sockets

This information explains how to design a program to use datagram sockets. All examples are shown using an address family of AF_INET (IPv4). All concepts also can be applied to an address family of AF_INET6 (IPv6). Topics include: