Socket Type#

Macros#

#define

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

#define

Datagram socket type. Supports datagrams, which are connectionless, unreliable messages of a fixed maximum length.

Macro Definition Documentation#

IOT_SOCKET_SOCK_STREAM#

#define IOT_SOCKET_SOCK_STREAM
Value:
1

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


IOT_SOCKET_SOCK_DGRAM#

#define IOT_SOCKET_SOCK_DGRAM
Value:
2

Datagram socket type. Supports datagrams, which are connectionless, unreliable messages of a fixed maximum length.