|
From: | Kieran Mansley |
Subject: | [lwip-devel] [task #10088] Correctly implement close() vs. shutdown() |
Date: | Tue, 16 Feb 2010 15:53:04 +0000 |
User-agent: | Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 Version/10.00 |
Follow-up Comment #6, task #10088 (project lwip): > Does shutdown(SHUT_RDWR) also do that? Not sure. I'd have to check. > We already have that information: the application tells TCP > about that by calling tcp_recved(). Isn't it enought to check > the receive window? If it has the initial size, no more data > should be buffered at higher levels. Interesting idea, and should work I think. The only reason it wouldn't would be if any of the layers delay calling tcp_recved() rather than doing so as soon as it has been passed to the application. _______________________________________________________ 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] |