Revision: 11215
http://warzone2100.svn.sourceforge.net/warzone2100/?rev=11215&view=rev
Author: cypr
Date: 2010-07-16 19:54:46 +0000 (Fri, 16 Jul 2010)
Log Message:
-----------
newnet: Don't send lots of small packets, fix "connection error"s when listing
games.
Since there is no advantage in sending data more than once per game tick, queue
up data until the game time ticks. This may result in sligtly better
compression in some cases, due to not flushing non-stop.
Don't close a socket while data is queued to be sent, since this sometimes
breaks listing games (where the list is queued, and the socket is closed).
From: Cyp <[email protected]>
Modified Paths:
--------------
branches/newnet/lib/netplay/netplay.c
branches/newnet/lib/netplay/netplay.h
branches/newnet/lib/netplay/netsocket.cpp
branches/newnet/lib/netplay/netsocket.h
branches/newnet/src/loop.c
branches/newnet/src/wrappers.c
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits