[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change
From: |
Jonathan Larmour |
Subject: |
[lwip-devel] [bug #3168] Handling UDP/TCP PCBs upon netif address change. |
Date: |
Fri, 27 Apr 2007 11:55:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070223 Fedora/1.5.0.10-1.fc5 Firefox/1.5.0.10 |
Follow-up Comment #11, bug #3168 (project lwip):
Systems are allowed to generate additional error codes beyond what the
standard lists for each function (as per
http://www.opengroup.org/onlinepubs/007908799/xsh/errors.html).
The implication is that there isn't a laid down SUS standard for what to do
here. EBADF definitely wouldn't be right though - that's what you get when
you try to perform an operation on an invalid or closed file
descriptor/socket. The socket isn't closed though - you still need to call
close() on it (in UNIX systems) to free up the resources. For lwIP the
principle would be the same - it still would need to be closed by the
application (not by the stack itself), and until it is, it returns an error.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?3168>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/