|
From: | Simon Goldschmidt |
Subject: | [lwip-devel] [bug #39340] Raw API changed regarding TCP connections closing |
Date: | Tue, 25 Jun 2013 18:15:29 +0000 |
User-agent: | Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3 |
Follow-up Comment #2, bug #39340 (project lwip): The current API implementation should be that recv(NULL) is called on normal close while err() is called when RST is received or if the connection is closed due to lwIP running out of resources or something like that. Do you think this is not documented or do you propose to change this implementation? Aside from this, I think calling both recv(NULL) *and* err() might confuse applications as there're is no single defined point when to invalidate a connection. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?39340> _______________________________________________ Nachricht gesendet von/durch Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |