[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #41700] Call to tcp_listen_dual() should not accept IP
From: |
Drew Stebbins |
Subject: |
[lwip-devel] [bug #41700] Call to tcp_listen_dual() should not accept IPv4 listen PCB args |
Date: |
Fri, 28 Feb 2014 19:57:21 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36 |
Follow-up Comment #2, bug #41700 (project lwip):
Already switched to tcp_listen in my code base. To save future developers some
grief, let's eliminate the edge case here. Having tcp_listen_dual check for
existing listeners on all relevant port/IP combinations sounds reasonable. I'd
further suggest that calls to tcp_listen_dual be atomic, so the caller doesn't
have to check after a successful call to ensure their PCBs are listening on
*all* of the desired port/IP combinations.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?41700>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/