|
From: | Kieran Mansley |
Subject: | [lwip-devel] [task #10088] Correctly implement close() vs. shutdown() |
Date: | Mon, 22 Feb 2010 11:29:25 +0000 |
User-agent: | Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 Version/10.00 |
Follow-up Comment #13, task #10088 (project lwip): Stevens TCP/IP Illustrated Vol II says for shutdown: for shutdown(RD) discard any data the process has not yet read and any data that arrives after the call to shutdown() for shutdown(WR) it is protocol specific. For TCP it means send any remaining data that is queued followed by the FIN. To destroy the socket and release the descriptor close() must be called. Preview here, page 468: http://books.google.co.uk/books?id=ESM3CWY5xRYC&lpg=PP1 _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/task/?10088> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |