1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 22:56:30 +09:00

updated garbagethrowersample

This commit is contained in:
lidgren
2014-11-04 08:06:40 +00:00
parent 601666d9fb
commit fc9e72e0de
4 changed files with 79 additions and 7 deletions

View File

@@ -12,6 +12,8 @@ namespace Server
NetPeerConfiguration config = new NetPeerConfiguration("garbagethrower");
config.MaximumConnections = 1;
config.Port = 14242;
config.PingInterval = 2.0f;
config.ConnectionTimeout = 2.0f;
var server = new NetServer(config);
server.Start();