netconn_type enum
Protocol family and type of the netconn
Syntax
enum netconn_type
{
NETCONN_INVALID = 0,
NETCONN_TCP = 0x10,
#if LWIP_IPV6
NETCONN_TCP_IPV6 = NETCONN_TCP | NETCONN_TYPE_IPV6 ,
#endif
NETCONN_UDP = 0x20,
NETCONN_UDPLITE = 0x21,
NETCONN_UDPNOCHKSUM = 0x22,
#if LWIP_IPV6
NETCONN_UDP_IPV6 = NETCONN_UDP | NETCONN_TYPE_IPV6 ,
NETCONN_UDPLITE_IPV6 = NETCONN_UDPLITE | NETCONN_TYPE_IPV6 ,
NETCONN_UDPNOCHKSUM_IPV6 = NETCONN_UDPNOCHKSUM | NETCONN_TYPE_IPV6 ,
#endif
NETCONN_RAW = 0x40
#if LWIP_IPV6
, NETCONN_RAW_IPV6 = NETCONN_RAW | NETCONN_TYPE_IPV6
#endif
};