Hi Lukas,
thank you for your interest.
lwIP is licenced under a BSD license, please visit lwIP - A Lightweight TCP/IP stack - Summary [Savannah]
Very useful for you could be documentation under Getting Started at lwIP Wiki - Wikia
lwIP Application Developers Manual, LwIP Application Developers Manual - lwIP Wiki - Wikia
and there is also information about Netconn API with functions netconn_new(), netconn_connect(), netconn_send() ... Netconn API - lwIP Wiki - Wikia
netconn_connect
err_t netconn_connect ( struct netconn * aNetConn, ip_addr_t * aAddr, u16_t aPport );
- in aNetConn : netconn structure received by netconn_new or netconn_accept.
- in aAddr : the IP address of the remote server to connect to
- in aPort : the port of the remote server to connect to
Attempt to establish a connection between the local client and a remote server.
I hope this helps you.
In case of any issue, please let me know.
Best Regards,
Iva