Socket Type#

Macros#

#define
SOCK_STREAM 1

Stream socket. Provides sequenced, reliable, two-way, connection-based byte streams.

#define
SOCK_DGRAM 2

Datagram socket. Supports datagrams (connectionless, unreliable messages of a fixed maximum length).

#define
SOCK_RAW 3

Raw socket. Provides raw network protocol access. This feature is not supported in the current release.

#define
SOCK_RDM 4

Reliably-delivered message. Provides a reliable datagram layer that does not guarantee ordering. This feature is not supported in the current release.

#define
SOCK_SEQPACKET 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.