lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Socket are not correctly closed on disconnection ?


From: Indan Zupancic
Subject: Re: [lwip-users] Socket are not correctly closed on disconnection ?
Date: Fri, 16 Sep 2022 10:51:26 +0200
User-agent: Roundcube Webmail/1.3.16

Hello Stefano,

On 2022-09-16 01:52, Stefano Tebaldi wrote:
What can be the problem and how to manage correctly this scenario ?

Try using netif_set_link_down()/netif_set_link_up() instead,
perhaps that helps.

Normally you wouldn't want to close all sockets when interface
goes down though, especially not listen sockets, it might come
back up soon.

Greetings,

Indan



reply via email to

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