示例#1
0
        private void OnLoginRequest(object sender, object packet)
        {
            Packet     P    = (Packet)packet;
            Wo1fSocket WS   = (Wo1fSocket)sender;
            Client     C    = Clients[WS];
            string     s    = P.Arguments[0];
            string     user = s.Split(' ')[0];
            string     pass = s.Split(' ')[1];

            Clients.CheckLogin(C, user, pass);
        }