|
From: | Stian Skjelstad |
Subject: | Re: [lwip-devel] Duplicate local port number of client in multithreading scenario |
Date: | Mon, 22 Aug 2022 18:58:48 +0200 |
_______________________________________________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.
lwip-devel mailing list
lwip-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-devel
[Prev in Thread] | Current Thread | [Next in Thread] |