Organizing a TCP/IP application program

This information explains how to organize a TCP/IP application program. All examples are shown using an address family of AF_INET (IPv4). All concepts described below can also be applied to an address family of AF_INET6 (IPv6).