[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9165] Allowing udp src port to be 0 in cases when w
From: |
Alex Moran |
Subject: |
[lwip-devel] [patch #9165] Allowing udp src port to be 0 in cases when we don't care about outgoing port |
Date: |
Tue, 22 Nov 2016 21:42:55 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36 |
Follow-up Comment #8, patch #9165 (project lwip):
I believe I realize why it's a bad idea. I was not considering that from a
successful udp_connect, you are assuming that communication to/from that
address:port are eligible. By using connect with port 0, you would not able to
send (with normal udp_send) to the remote IP, only receive. You would need to
use udp_sendto and specify a different port. For this reason, I can see why
it'd be a bad solution, although I do think the problem still exists. I
appreciate you all entertaining the idea.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?9165>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/