17.10 SummaryThe ioctl commands that are used in network programs can be divided into six categories:
We will use the socket and file operations, and obtaining the interface list is such a common operation that we developed our own function to do this. We will use this function numerous times in the remainder of the text. Only a few specialized programs use the ioctl operations with the ARP cache and routing table. |