|
From: | Bill Auerbach |
Subject: | RE: [lwip-users] Connection closes with Echoraw demo |
Date: | Mon, 28 Sep 2009 10:54:34 -0400 |
If the connection is idle, I think you’ll need to enable keepalives.
I don’t think lwIP is causing this since I have devices with TCP connections
open all day (and they are mostly idle). Bill From: address@hidden
[mailto:address@hidden On Behalf
Of Francois Bouchard HI
all, The
server side (embedded) runs the Echoraw demo, which implements a TCP Echo
Server. On the Client Side, my PC an Echo client runs and continuously
sends packest, and measure the Round Trip Time. Client sends Another
message as soon as it receive the echo of the previous one. That
runs fine for a while, but after few time (mostly random I would say, although
it can run for a few hours) the TCP connection terminates by itself ! I
think server does'nt have the time to send ACK. Should I pause client
apps once in a while to let the server send acks? Attached
is the wireshark file when the TCP connection stops. regards, FB |
[Prev in Thread] | Current Thread | [Next in Thread] |