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.


Definition at line 65 of file third_party/iot_socket/include/iot_socket.h

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.


Definition at line 66 of file third_party/iot_socket/include/iot_socket.h