Name
netconn_new() — Create a new connection structure
Synopsis
struct netconn *netconn_new
(
enum netconn_type type
)
;
Description
Creates a new connection abstraction structure. The argument usually one of
either NETCONN_TCP
or NETCONN_UDP
,
yielding either a TCP or a UDP connection. No connection is established by
the call to this function and no data is sent over the network.
For more advanced use, it is also possible to specify different connection
types: NETCONN_UDPLITE
, NETCONN_UDPNOCHKSUM
or NETCONN_RAW
.
If IPv6 support is configured then the type can be suffixed
with _IPV6
to specify an IPv6
connection. e.g. NETCONN_TCP_IPV6
.
2024-03-18 | LWIP Documentation Notices |