lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Assert-fail closing TCP listen connection


From: Norberto R. de Goes Jr.
Subject: [lwip-users] Assert-fail closing TCP listen connection
Date: Wed, 5 Oct 2016 13:40:41 -0300

Hi, how are you doing?

I wrote a simple TCP-server. It is working fine.
During your shutdown I am closing the main connection (listen state to accepting new connections), through basically (in the sequence, based on "httpserver-netconn"):
   - netconn_close
   - netconn_delete

After "netcon_close", I can observer a fault:

" ...
Assertion "pcb->state == LISTEN" failed at line 175 in ../src/lwip_src/lwip/src/core/tcp.c
..."

Please, can I not close the "listen" connection? Or am I using procedure wrong?
Thanks.


--
Norberto R. de Goes Jr.
CPqD - DRC
Tel.: +55 19 3705-4241 / Fax: +55 19 3705-6125
address@hidden
www.cpqd.com.br



reply via email to

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