|
From: | Marco Jakobs |
Subject: | Re: [lwip-users] Assert on netconn_write: "already writing or closing" |
Date: | Fri, 1 Feb 2013 08:09:27 +0100 |
Hi Simon, then i have misunderstand how to do it … i thought non-blocking is the precondition to use a sendtimeout. Can I find an explanation somewhere? Basically I want that a netconn_write on a TCP connection times out and returns after a configurable time with an error instead blocking the task for a certain long time. What would you suggest how to realize this? Marco From: address@hidden [mailto:address@hidden On Behalf Of Simon Goldschmidt "Marco Jakobs" wrote:
Non-blocking and send-timeout are two different ways of achieving roughly the same thing. Mixing these might not be fully tested. But I don't think a send-timeout makes sense on a non-blocking socket, anyway. Simon |
[Prev in Thread] | Current Thread | [Next in Thread] |