One of our applications is exhibiting poor network behavior on Vista due to the new network stack's auto-tuning functionality. I'm working on tracking down why the problem's happening, but in the meantime, it'd be wonderful if we could simply disable auto-tuning on our application for the time being. Is there any way to do so programmatically, ideally just on a per-application basis? The only solution I've found is to use an elevated command-prompt—not an acceptable solution for our users.
R – Programmatically disable network auto-tune in Windows Vista
networkingwindows-vista
Related Topic
- Windows – Vista Serial programmatically
- Maximum filename length in NTFS (Windows XP and Windows Vista)
- Windows – How to disable the ‘Debug / Close Application’ dialog on Windows Vista
- Windows – Programmatically disable device in device manager (Vista x64)
- C++ – Programmatically disable/enable network interface
- Windows – Vista UAC – Trouble Mapping Network Drives
- Windows Vista/7 Programmatically login
- Ios – Is it possible to disable the network in iOS Simulator
Best Answer
Try setting the SO_RCVBUF socket option on your applications TCP socket. This should override the auto-tuned receive window with the value you supply (see).