lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip_write() returns -1 after few days uptime, or after


From: Simon Goldschmidt
Subject: Re: [lwip-users] lwip_write() returns -1 after few days uptime, or after multiple interface(cable) reconnections
Date: Tue, 26 Jul 2016 14:34:30 +0200

Иван wrote:
> Going through lwip_sendto() I found sock->conn->last_err is -15 (ERR_IF, 
> Low-level netif error)

OK, that's your bug. With 1.4.1, a netconn or socket stops working once it 
receives ERR_IF. You can either
prevent your netif driver from returning ERR_IF (just return ERR_BUF instead) 
or upgrade to 2.0.0 (beta).


Simon



reply via email to

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