Esempio n. 1
0
        private void handleSend()
        {
            NetPacket p;
            bool      rec = ToSendPacket.TryDequeue(out p);

            if (rec)
            {
                ClientSocketHandler.Send(p.p);
            }
        }
Esempio n. 2
0
 public Client(string ip, int port, Main M)
 {
     m = M;
     ClientSocketHandler.connect(NetPacket.stringToLongIP(ip), port);
 }