Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Berkeley sockets
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==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: {| class=wikitable !File || Description |- |sys/socket.h || Core socket functions and data structures. |- |netinet/in.h || AF_INET and AF_INET6 address families and their corresponding protocol families, PF_INET and PF_INET6. These include standard IP addresses and TCP and UDP port numbers. |- |sys/un.h || PF_UNIX and PF_LOCAL address family. Used for local communication between programs running on the same computer. |- |arpa/inet.h || Functions for manipulating numeric IP addresses. |- |netdb.h || Functions for translating protocol names and host names into numeric addresses. Searches local data as well as name services. |}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)