lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Graceful shutdown


From: Ben Schwartz
Subject: [lwip-users] Graceful shutdown
Date: Fri, 18 Jan 2019 17:19:37 -0500

Hi lwIP,

According to a message from a long time ago [1], there's no way to perform a graceful shutdown of an lwIP instance.  Is that still true?

For context, I'm currently working with an executable that, on startup, calls lwip_init(), netif_set_up(), netif_set_link_up(), netif_set_default(), tcp_bind_to_netif(), tcp_bind_netif(), tcp_listen(), and tcp_accept().  On completion, the process terminates without unwinding any of these steps.  I'm trying to convert this executable into a library that could be started, stopped, and started again.

Is there a recommended pattern for stopping and restarting lwIP?

Thanks,
Ben Schwartz

[1] http://lists.nongnu.org/archive/html/lwip-users/2010-03/msg00210.html

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

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