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: address@hidden
Subject: Re: [lwip-users] Detecting remote close when using netconn API
Date: Thu, 12 Apr 2012 20:52:30 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120327 Thunderbird/11.0.1

Krzysztof Wesołowski wrote:
Can I make such non blocking read with already established connection?

Yes, call netconn_set_nonblocking(conn, 1) to set the connection non-blocking, call netconn_read() and call netconn_set_nonblocking(conn, 0) afterwards to make the connection blocking again.

Oh, and *please* don't top-post. Instead, only include relevant portions of the previous mail. Also, I'd rather you don't reply to digest mails (because the referer gets changed and email programs/apps cannot sort emails by thread any more)!

Thanks,
Simon



reply via email to

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