[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #19157] lwip_close problems
From: |
Jonathan Larmour |
Subject: |
[lwip-devel] [bug #19157] lwip_close problems |
Date: |
Mon, 26 Mar 2007 13:49:22 +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 #16, bug #19157 (project lwip):
Just an information point to confirm what was said earlier, according to
http://www.opengroup.org/onlinepubs/000095399/functions/close.html
"If fildes refers to a socket, close() shall cause the socket to be
destroyed. If the socket is in connection-mode, and the SO_LINGER option is
set for the socket with non-zero linger time, and the socket has
untransmitted data, then close() shall block for up to the current linger
interval until all data is transmitted."
and for the avoidance of doubt,
http://www.opengroup.org/onlinepubs/009695399/functions/setsockopt.html
describes SO_LINGER which says the default is "the system handles the call in
a way that allows the calling thread to continue as quickly as possible".
So the data has to be reliably sent, but if possible, the application should
not block.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?19157>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #19157] lwip_close problems, (continued)
- [lwip-devel] [bug #19157] lwip_close problems, Simon Goldschmidt, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Frédéric Bernon, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Kieran Mansley, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Frédéric Bernon, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Kieran Mansley, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Simon Goldschmidt, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Kieran Mansley, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Frédéric Bernon, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Kieran Mansley, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Frédéric Bernon, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems,
Jonathan Larmour <=
- [lwip-devel] [bug #19157] lwip_close problems, Frédéric Bernon, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Simon Goldschmidt, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Jonathan Larmour, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Per Strandh, 2007/03/26
- [lwip-devel] [bug #19157] lwip_close problems, Kieran Mansley, 2007/03/27
- [lwip-devel] [bug #19157] lwip_close problems, Simon Goldschmidt, 2007/03/27
- [lwip-devel] [bug #19157] lwip_close problems, Frédéric Bernon, 2007/03/27
- [lwip-devel] [bug #19157] lwip_close problems, Jonathan Larmour, 2007/03/27
- [lwip-devel] [bug #19157] lwip_close problems, Frédéric Bernon, 2007/03/27