in reply to Re: Control TCP_MAXSEG (OS buffering) on Win32
in thread Control TCP_MAXSEG (OS buffering) on Win32
OK, well to rephrase the requirement:
I have a 20KB/min (!) connection and the OS is currently buffering 3-4 mins worth of data, so I need to find a way to crank down the amount of buffering between the two apps, ie all I can do is affect the advertised receive window of the server socket which the remove app connects to (over localhost)
Given a set of machines running XP and Vista can anyone think of a way to control advertised receive window?
Curiously under Vista it seems that setting SO_RCVBUF controls the advertised window nicely - however, it looks like something wierd like 40KB ish + SO+RCVBUF on XP... (Need to repeat that test to remind myself of the magic number, however, I think it *wasn't* 64KB which would have been the obvious answer...)
I can post some test code if it's useful?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Control TCP_MAXSEG (OS buffering) on Win32
by Anonymous Monk on Nov 09, 2007 at 03:45 UTC | |
by TheWildgoose (Initiate) on Nov 09, 2007 at 16:53 UTC | |
by BrowserUk (Patriarch) on Nov 09, 2007 at 17:20 UTC |