Kieran Mansley wrote:
> On Wed, 2008-05-28 at 13:43 +0100, Jonathan Larmour wrote:
>> Yes, if the connection is closed remotely you will read 0 bytes (as opposed
>> to no data available when you get the EWOULDBLOCK error). If you write to
>> it when closed you will get an error.
> 
> Although if the remote end has closed gracefully, using a FIN rather
> than a RST, you'll get no error when writing to the socket as the
> connection is still open in that direction.

Sorry, yes true.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to