Re: [lwip-users] LwIP PCBs reset

2020-01-13 Thread goldsi...@gmx.de
Am 13.01.2020 um 09:27 schrieb Amena El Homsi: Hi, thanks for your reply, please check my answers below. On Thu, Jan 9, 2020 at 6:35 PM goldsimon mailto:goldsi...@gmx.de>> wrote: Amena El Homsi wrote: >Hello, > >After disconnecting from an AP I have to reset the PCBs pools.

Re: [lwip-users] LwIP PCBs reset

2020-01-13 Thread Amena El Homsi
Hi, thanks for your reply, please check my answers below. On Thu, Jan 9, 2020 at 6:35 PM goldsimon wrote: > > > Amena El Homsi wrote: > >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 sock

Re: [lwip-users] LwIP PCBs reset

2020-01-09 Thread goldsimon
Amena El Homsi wrote: >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). That should not be required.

[lwip-users] LwIP PCBs reset

2020-01-09 Thread Amena El Homsi
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_IN