[Top][All Lists]

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

[lwip-users] Re-establishing an interrupted connection does not acknowle

From: ajitn
Subject: [lwip-users] Re-establishing an interrupted connection does not acknowledge SYNs
Date: Sat, 15 Sep 2007 01:33:47 -0500 (CDT)
User-agent: SquirrelMail/1.4.9a


I am trying to make an embedded networking device communicate to a server
through TCP/IP. The device connects to the server through a constant local
port. The platform is Blackfin and I am using the lwip libraries.

After the connection is established, the device is sometimes shutdown
uncleanly (i.e. pulling out the power cord), and so it does not always
send a FIN to close the connection.

When the device comes back up, however, the SYN packets it sends to
re-establish the connection are not acknowledged. I would imagine this is
because the other side has not closed the previous connection (which uses
the same port/ip address).

Does this mean that I need to always send an RST packet forcibly to the
other side each time I try to establish the connection?


reply via email to

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