|
From: | wuchangsheng (C) |
Subject: | [lwip-devel] Duplicate local port number of client in multithreading scenario |
Date: | Mon, 22 Aug 2022 14:00:55 +0000 |
Hi, all: In the multithreading scenario, when each thread uses one LwIP, the local port generated by the client may be duplicated. Then I looked at the code and found that in the tcp_new_port function, tcp_port is a global
variable. This may result in duplicate ports when multithreading. Dose LwIP support multithreading. |
[Prev in Thread] | Current Thread | [Next in Thread] |