netconn_type()
Name
netconn_type() -- Obtain the type of netconn
Synopsis
enum netconn_type netconn_type(struct netconn *conn);
Description
Returns the type of the connection conn. This is the
same type that is given as an argument to
netconn_new() (and its variants) and can be one of NETCONN_TCP,
NETCONN_UDP, NETCONN_UDPLITE,
NETCONN_UDPNOCHKSUM or NETCONN_RAW.