Beispiel #1
0
 /// <summary>
 /// Add a connection to the ConnectManager, for further user
 /// and register a first packet handler.
 /// </summary>
 /// <param name="connection">Client's connection</param>
 private static void AddClient(Connection connection)
 {
     ConnectionManager.Add(connection);
     Packet.Welcome.Register(connection);
 }