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:
“But some who this blithe mood present,
As on in lightsome files they fare,
Shall die experienced ere three days be spent
Perish, enlightened by the vollied glare;
Or shame survive, and, like to adamant,
Thy after shock, Manassas, share.”
—Herman Melville (18191891)
Related Phrases
Related Words