Socket Type#
Macros#
Stream socket. Provides sequenced, reliable, two-way, connection-based byte streams.
Datagram socket. Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
Raw socket. Provides raw network protocol access. This feature is not supported in the current release.
Reliably-delivered message. Provides a reliable datagram layer that does not guarantee ordering. This feature is not supported in the current release.
Sequenced packet stream. Provides a sequenced, reliable, two-way, connection-based data transmission path for datagrams of fixed maximum length. This feature is not supported in the current release.
Macro Definition Documentation#
SOCK_STREAM#
#define SOCK_STREAMValue:
1
Stream socket. Provides sequenced, reliable, two-way, connection-based byte streams.
SOCK_DGRAM#
#define SOCK_DGRAMValue:
2
Datagram socket. Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
SOCK_RAW#
#define SOCK_RAWValue:
3
Raw socket. Provides raw network protocol access. This feature is not supported in the current release.
SOCK_RDM#
#define SOCK_RDMValue:
4
Reliably-delivered message. Provides a reliable datagram layer that does not guarantee ordering. This feature is not supported in the current release.
SOCK_SEQPACKET#
#define SOCK_SEQPACKETValue:
5
Sequenced packet stream. Provides a sequenced, reliable, two-way, connection-based data transmission path for datagrams of fixed maximum length. This feature is not supported in the current release.