TCP long pause



Hi,

I have a client/server applications communicating through TCP on x64 Vista
SP1. Every once in a while I run into a long 5 second pause when the traffic
from the server completely stops except for Acks only. This happens after
the client advertised receive window gets small (less than the MSS, which is
1460 in my case), that make me think it is the action of TCP persist timer.
I've tried to have the client send out small packets to advertise updated
receive window size, but so far it does not seem to help. Any ideas?

Thanks.








.



Relevant Pages

  • Re: Log Out Issues
    ... UDP is the way to go for internet games. ... Apparently the extra overhead in TCP can cause a lot more lag in your game, ... >> Lets say the client sends a log out request to the server reliably. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Dropped Sessions Pervasive v7
    ... Pervasive is a slave to the TCP stack -- if the TCP connection is lost, ... Looking in to the PVSW.LOG file on a client machine ... > connections to the database server being dropped. ...
    (comp.databases.btrieve)
  • Re: detect bytes written on abort
    ... makes it unreliable, as a successful fwrite() on a socket may simply mean that the data has been placed in a buffer on the sender, not even passed to the OS yet. ... You don't know that the other end of the TCP connection is on the user's browser. ... to implement a protocol where the sender and receiver always agree ... I only want to be able to track how many bytes were sent to the client, which equals the value that is eventually written to the server log file. ...
    (comp.lang.php)
  • Re: problem reading TCP packets on socket
    ... the client strips down the message in the ... characters on my bufferedReader, and I start over. ... I realized that problems arised when TCP ... Using a BufferedReader as you have done improves the chances of getting a whole array in one read, but still does not ensure it. ...
    (comp.lang.java.programmer)
  • Re: .Net Remoting TCP or HTTP?
    ... John's given a good description of why you would pick either the TCP or HTTP ... The reason is that, when the server needs to notify the client of the event, ... In the TCP case, this means using a bi-directional channel, so that requests ...
    (microsoft.public.dotnet.framework)