Socket Type#

Macros#

#define

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

#define

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

#define

Raw socket. Provides raw network protocol access.

#define

Reliably-delivered message. Provides a reliable datagram layer that does not guarantee ordering.

#define

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_STREAM
Value:
1

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


Definition at line 65 of file components/service/bsd_socket/inc/socket.h

SOCK_DGRAM#

#define SOCK_DGRAM
Value:
2

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


Definition at line 66 of file components/service/bsd_socket/inc/socket.h

SOCK_RAW#

#define SOCK_RAW
Value:
3

Raw socket. Provides raw network protocol access.


Definition at line 67 of file components/service/bsd_socket/inc/socket.h

SOCK_RDM#

#define SOCK_RDM
Value:
4

Reliably-delivered message. Provides a reliable datagram layer that does not guarantee ordering.


Definition at line 68 of file components/service/bsd_socket/inc/socket.h

SOCK_SEQPACKET#

#define SOCK_SEQPACKET
Value:
5

Sequenced packet stream. Provides a sequenced, reliable, two-way, connection-based data transmission path for datagrams of fixed maximum length.


Definition at line 69 of file components/service/bsd_socket/inc/socket.h