Header Files
The Berkeley socket interface is defined in several header files. The names and content of these files differ slightly between implementations. In general, they include:
-
- Core BSD socket functions and data structures.
- AF_INET and AF_INET6 address families and their corresponding protocol families PF_INET and PF_INET6. Widely used on the Internet, these include IP addresses and TCP and UDP port numbers.
- PF_UNIX/PF_LOCAL address family. Used for local communication between programs running on the same computer. Not used on networks.
- Functions for manipulating numeric IP addresses.
- Functions for translating protocol names and host names into numeric addresses. Searches local data as well as DNS.
Read more about this topic: Berkeley Sockets
Famous quotes containing the word files:
“Here files of pins extend their shining rows,
Puffs, powders, patches, bibles, billet-doux.”
—Alexander Pope (16881744)