Skip to content

Single-header C library that fixes WiFi performance issues for online gaming and other low-latency real-time network traffic.

Notifications You must be signed in to change notification settings

lizhengda/WLANOptimizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WLANOptimizer

Single-header C library that fixes WiFi performance issues for online gaming and other low-latency real-time network traffic.

This fixes a common issue on Windows laptops where the adapter scans for networks while a connection is active, causing 100+ millisecond delays. This makes a huge difference in performance for real-time multiplayer!

On my laptop it reduces the latency from 130 ms delay spikes to 10 ms or less - 10x improvement.

Notably this also improves my BitTorrent download speed by 4x, as BitTorrent protocol uses a congestion control strategy based on latency (LEDBAT). These latency spikes cause download speed to plummet in easy, repeatable tests.

Note: This settings change DOES NOT require Administrator access.

Easy setup:

    Add the include header somewhere:

        #include "WLANOptimizer.h"

    Call the start function:

        StartWLANOptimizerThread();

And that's it.

Demo

To try it out quickly, run the tests/stand_alone.exe application.

To set up a more thorough demo between two computers on your LAN, run the tests/tests_peer2peer_gui.exe on two computers on your WiFi LAN.

The results on my WLAN:

demo.png

Credits

Software by Christopher A. Taylor [email protected]

Please reach out if you need support or would like to collaborate on a project.

About

Single-header C library that fixes WiFi performance issues for online gaming and other low-latency real-time network traffic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.1%
  • C 6.1%
  • CMake 0.8%