This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
我的客户希望通过 AM2732上的 LWIP 使用4台 TCP 服务器、但发现如果创建了第4台服务器、则客户端无法连接所有 TCP 服务器。
客户尝试按如下方式修改 opt.h 中的参数、但仍然遇到问题。 请提供帮助吗?
#define MEMP_NUM_PBUF 128
#define MEMP_NUM_tcp_PCB 10.
#define MEMP_NUM_tcp_PCV_Listen 10.
#define MEMP_NUM_tcp_SEG 128
#define MEMP_NUM_NETCONN 20.
BTW,如果仅创建3个 TCP 服务器,它们工作正常。
谢谢、
Chris
您好、Gmsy、
您能不能尝试增大堆大小。 它位于与的链接器文件中
--heap:行。
请告诉我这 是否可行。
BR
Nilabh A.
套接字创建使用堆内存。
BR
Nilabh A.