LWIP reference manual

显示  仅  | 搜索替代 

LWIP reference manual

5,581 次查看
Contributor II

I 'm trying to learn new KSDK 2.0. I want to start new project with FreeRTOS and LWIP based on TCP Client. I can't find any documetation about LWIP. I'm using netconn API, but eg. I donť know if netconn_connect is blocking function or no and if this function has some parameters eg. timeout.

标签 (1)
0 项奖励
1 回复

2,785 次查看
NXP Employee
NXP Employee

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


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,


0 项奖励