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:
“The good husband finds method as efficient in the packing of fire-wood in a shed, or in the harvesting of fruits in the cellar, as in Peninsular campaigns or the files of the Department of State.”
—Ralph Waldo Emerson (18031882)
Related Phrases
Related Words