- Collect synced packets to send within 1 second (cSendEmptyPacketTime) into buffer which is flushed each second.
- Send empty packet only if there was no other synced message within last second.
This should reduce traffic load: less bytes and less packets (less packets is very good for the server too).
Hedgewars - a turn based strategy game.Distributed under the terms of the GNU GPL licence.Images and sounds are distributed under the terms of the GNU FDL licence.Source:Copyright 2004-2011 Andrey Korotaev <unC0Rr@gmail.com>Portions copyright 2006-2008 Igor Ulyanov aka Displacer <iulyanov@gmail.com>Instructions:depending on your system, consult our wiki at:- http://code.google.com/p/hedgewars/wiki/BuildingOnLinux- http://code.google.com/p/hedgewars/wiki/BuildingOnWindows- http://code.google.com/p/hedgewars/wiki/BuildingOnMac