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.
Reliably-delivered message. Provides a reliable datagram layer that does not guarantee ordering.
Sequenced packet stream. Provides a sequenced, reliable, two-way, connection-based data transmission path for datagrams of fixed maximum length.
Macro Definition Documentation#
SOCK_STREAM#
#define SOCK_STREAMValue:
1
Stream socket. Provides sequenced, reliable, two-way, connection-based byte streams.
65
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).
66
of file components/service/bsd_socket/inc/socket.h
SOCK_RAW#
#define SOCK_RAWValue:
3
Raw socket. Provides raw network protocol access.
67
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.
68
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.
69
of file components/service/bsd_socket/inc/socket.h