lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] PCB states stay in FIN_WAIT_1


From: Theou Jean-Baptiste
Subject: [lwip-users] PCB states stay in FIN_WAIT_1
Date: Fri, 9 Jul 2010 11:21:02 +0200

Hello everyone,

I've a problem with lwIP (1.3.2 on atmel) on TCP/IP transmission. I use lwIP in FreeRTOS.
In my project, web interface make an request (every 2 sec approx. ) to http server (who is on my embedded system) via http://192.168.0.120/CONFIG?blabla.
Everything thing ok but after a while (seems random), request doesn't have answer anymore.

With lwIP TCPDEBUG, i've this message (via RS-232) :

tcp_slowtmr: tcp state  -> ESTABLISHED
tcp_slowtmr: tcp state  -> ESTABLISHED


tcp_slowtmr: tcp state  -> ESTABLISHED
tcp_slowtmr: tcp state  -> ESTABLISHED

tcp_slowtmr: tcp state  -> ESTABLISHED
tcp_slowtmr: tcp state  -> ESTABLISHED

tcp_slowtmr: tcp state  -> ESTABLISHED
tcp_slowtmr: tcp state  -> ESTABLISHED


tcp_slowtmr: tcp state  -> ESTABLISHED

tcp_slowtmr: tcp state  -> FIN_WAIT_1


tcp_slowtmr: tcp state  -> FIN_WAIT_1
tcp_slowtmr: tcp state  -> FIN_WAIT_1


tcp_slowtmr: tcp state  -> FIN_WAIT_1
tcp_slowtmr: tcp state  -> FIN_WAIT_1


[......]

tcp state seems lock on FIN_WAIT_1, like if PC doesn't send FIN_WAIT_2 ....

For create my TCP connection, i used this way :

netconn_accept -> netconn_close -> netconn_delete

Have you any idea ?

Best regards

--
Jean-Baptiste Théou

reply via email to

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