lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] LwIP PCBs reset


From: Amena El Homsi
Subject: [lwip-users] LwIP PCBs reset
Date: Thu, 9 Jan 2020 13:02:56 +0200

Hello,

After disconnecting from an AP I have to reset the PCBs pools. If I did not do that and I reconnect to the AP and If I tried to bind a socket to a port that I already used in the previous connection, binding fails (port in use).

To reset the PCBs I have to call memp_init() with MEMP_MEM_INIT set to 1, right?

When I call memp_init(), even if I did not set MEMP_MEM_INIT to 1, DHCP fails.

According to wireshark capture, we send DHCP discover packet, the AP replies with the Offer, however we didn't enter dhcp_handle_offer() function.

Do you have any idea what is happening?

--

Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng,  M.S.

reply via email to

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