aboutsummaryrefslogtreecommitdiff
path: root/src/crnonpl.cc
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2026-01-14 18:18:49 -0300
committerfusion32 <marcopuzziello@gmail.com>2026-01-14 18:18:49 -0300
commitc2cbe8e23bc1ca97908f9cc82ee772244c5dbfec (patch)
treea2a05c301be81600ebd8199aafb610f6e1954506 /src/crnonpl.cc
parenteeddc2b65af76b45001768133ed14d9ab94583b7 (diff)
downloadgame-c2cbe8e23bc1ca97908f9cc82ee772244c5dbfec.tar.gz
game-c2cbe8e23bc1ca97908f9cc82ee772244c5dbfec.zip
bind acceptor to INADDR_ANY by default + set TCP_NODELAY on sockets
- Binding the acceptor to the game address was troublesome with certain setups, so it will now bind to INADDR_ANY by default. This behaviour can be reverted by adding `-DBIND_ACCEPTOR_TO_GAME_ADDRESS=1` as a compiler option. - Setting TCP_NODELAY can help improving latency and reducing stutters specially for players with higher ping. It was not in the original binary, but it's probably worth it to have it enabled.
Diffstat (limited to 'src/crnonpl.cc')
0 files changed, 0 insertions, 0 deletions