From: <sv...@ww...> - 2004-12-12 10:19:59
|
Author: mkrose Date: 2004-12-12 02:19:52 -0800 (Sun, 12 Dec 2004) New Revision: 1369 Modified: trunk/CSP/CSPSim/CHANGES.current trunk/CSP/CSPSim/Source/CSPSim.cpp trunk/CSP/CSPSim/Source/Controller.cpp trunk/CSP/IndexServer/IndexServer.cpp trunk/CSP/SimCore/Battlefield/BattlefieldMessages.net trunk/CSP/SimCore/Battlefield/GlobalBattlefield.h trunk/CSP/SimCore/Battlefield/LocalBattlefield.cpp trunk/CSP/SimCore/Battlefield/LocalBattlefield.h trunk/CSP/SimNet/ClientServer.cpp trunk/CSP/SimNet/ClientServer.h trunk/CSP/SimNet/NetworkInterface.cpp trunk/CSP/SimNet/NetworkInterface.h trunk/CSP/SimNet/NetworkNode.cpp trunk/CSP/SimNet/NetworkNode.h trunk/CSP/SimNet/PeerInfo.cpp Log: Several networking fixes: - Allow clients to specify an external ip address for use behind firewall/routers. When running on a LAN, but connecting to external hosts, use LocalIp to specify the internal ip (e.g. 192.168.0.1) in CSPSim.ini, and ExternalIp to specify the external ip. Be careful to update the latter as needed if you have a dynamic ip assignment. - Log ip addresses on initial connection - Tweak the bandwidth throttling limits to prevent starvation (especially when bootstrapping a new connection). - Set inbound and outbound bandwidths correctly when registering with a server. - Hack to provide a temporary workaround for severe time skew problems. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1369 Diff omitted (29634 bytes). |