lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Detecting remote close when using netconn API


From: Kieran Mansley
Subject: Re: [lwip-users] Detecting remote close when using netconn API
Date: Thu, 12 Apr 2012 09:44:45 +0100

On Thu, 2012-04-12 at 00:44 +0200, Krzysztof Wesołowski wrote:
> What can i do to detect that PC closed connection?

The simplest way would be to do a non-blocking read from the connection.
If the PC has closed it in that direction, you will get an error.

Kieran




reply via email to

[Prev in Thread] Current Thread [Next in Thread]