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.
64
of file components/service/bsd_socket/inc/socket.h
SOCK_DGRAM#
#define SOCK_DGRAMValue:
2
Datagram socket. Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
65
of file components/service/bsd_socket/inc/socket.h
SOCK_RAW#
#define SOCK_RAWValue:
3
Raw socket. Provides raw network protocol access. This feature is not supported in the current release.
66
of file components/service/bsd_socket/inc/socket.h
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.
67
of file components/service/bsd_socket/inc/socket.h
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.
68
of file components/service/bsd_socket/inc/socket.h