public Connection(Server server, Socket socket)
        {
            m_Server = server;
            m_Socket = socket;

            var state = new StateObject { Socket = m_Socket };
            m_Socket.BeginReceive(state.Buffer, 0, StateObject.BufferSize, SocketFlags.None, ReceiveCallback, state);
        }
 public AuthConnection(Server server, Socket socket)
     : base(server, socket)
 {
 }
 public GatewayServerConnection(Server server, Socket socket)
     : base(server, socket)
 {
 }