[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Assert on netconn_write: "already writing or closing"
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] Assert on netconn_write: "already writing or closing" |
Date: |
Fri, 01 Feb 2013 08:34:11 +0100 |
"Marco Jakobs" wrote:
> 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?
Dunno, this is not made up by us, it's basic behaviour copied from standard
sockets.
> 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?
Doesn't send-timeout work without setting the socket non-blocking?
Simon