[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9648] Correct UDP rebind check
From: |
Matthias Hofmann |
Subject: |
[lwip-devel] [patch #9648] Correct UDP rebind check |
Date: |
Wed, 13 Jun 2018 02:15:58 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #2, patch #9648 (project lwip):
My expectation is currently that you cannot bind to a port that is already
bound.
As IP_ADDR_ANY bind the port to all available interfaces. You cannot bind such
a port again with for example 192.168.0.1 address.
I wrote a little test program for checking this behaviour and with it a rebind
of an occupied port is not possible.
When you use the test program, you have to make sure that the HOST_IP matches
your PC IP address.
By the way this is also the behaviour of lwIP for TCP ;)
(file #44363)
_______________________________________________________
Additional Item Attachment:
File name: bind.c Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9648>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/