Socket Protocol#

Macros#

#define

Transmission Control Protocol (TCP). This is a reliable, stream-oriented protocol.

#define

User Datagram Protocol (UDP). This is a connectionless, unreliable, datagram protocol.

Macro Definition Documentation#

IOT_SOCKET_IPPROTO_TCP#

#define IOT_SOCKET_IPPROTO_TCP
Value:
1

Transmission Control Protocol (TCP). This is a reliable, stream-oriented protocol.


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

IOT_SOCKET_IPPROTO_UDP#

#define IOT_SOCKET_IPPROTO_UDP
Value:
2

User Datagram Protocol (UDP). This is a connectionless, unreliable, datagram protocol.


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