mirror of
https://github.com/apache/nuttx.git
synced 2026-05-15 13:16:28 +08:00
da74a5e368
for tcp_listener(). fixed potential conflict between implicit binding and port conflict detection. Implicit binding automatically allocates an interface address during connection,but port conflict detection occurs before binding/connecting. This can cause issues when creating multiple TCP connections in succession. If the first connection uses a random port via implicit binding, subsequent connections might reuse the same port under current filtering rules, leading to connect() failures. Signed-off-by: nuttxs <zhaoqing.zhang@sony.com>