Socket address family

The address family parameter on a socket() determines the format of the address structure to use on socket functions.

Address family protocols provide the network transportation of application data from one application to another (or from one process to another within the same machine). The application specifies the network transport provider on the protocol parameter of the socket.

The address family parameter (address_family) on the socket() function specifies the address structure that is used on the socket functions.