lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Randomized initial local port in tcp_connect()


From: gussabina
Subject: [lwip-users] Randomized initial local port in tcp_connect()
Date: Sun, 6 Aug 2017 18:19:58 -0700 (MST)

Hello:

I noticed the tcp_connect() function always use the same local (ephemeral)
port, rather than choosing a random port from a range of available ports.
This causes problem connecting to the same server as they might think it's
part of the previous connection if not closed properly.

I already set the #define LWIP_RANDOMIZE_INITIAL_LOCAL_PORTS 1, but I notice
same behavior.

Am I missing something?

Thanks
Gus



--
View this message in context: 
http://lwip.100.n7.nabble.com/Randomized-initial-local-port-in-tcp-connect-tp30384.html
Sent from the lwip-users mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]