NAME | FEATURE SUMMARY | API | ATTRIBUTES
The POSIX_SOCKETS feature provides POSIX-compatible socket system calls. For general information on this feature, see intro(2POSIX), and the POSIX draft standard P1003.1g. However, the POSIX_SOCKETS only provides support for the AF_INET domain. The AF_LOCAL domain support is provided by the AF_LOCAL feature.
The POSIX_SOCKETS feature API is summarized in the following table. Note that some of the calls listed are also included in other features.
Comment
Accept a connection on a socket.
Bind a name to a socket.
Close a file descriptor.
Initiate a connection on a socket.
Duplicate an open file descriptor.
Duplicate an open file descriptor.
File control.
Get name of connected peer.
Get socket name.
Set options on sockets.
Get options on sockets.
Device control.
Listen for connections on a socket.
Read from a socket.
Receive a message from a socket.
Receive a message from a socket.
Receive a message from a socket.
Synchronous I/O multiplexing.
Send a message from a socket.
Send a message from a socket.
Send a message from a socket.
Shut down part of a full-duplex connection.
Create an endpoint for communication.
Create a pair of connected sockets.
Write on a socket.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | FEATURE SUMMARY | API | ATTRIBUTES