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. This feature is not supported in the current release.

#define

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

#define

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

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


Definition at line 64 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 65 of file components/service/bsd_socket/inc/socket.h

SOCK_RAW#

#define SOCK_RAW
Value:
3

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


Definition at line 66 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. This feature is not supported in the current release.


Definition at line 67 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. This feature is not supported in the current release.


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