Ejemplo n.º 1
0
 private void send(Packet packet)
 {
     try
     {
         var sendData = _packetBuilder.ToBytes(packet);
         clientSocket.BeginSend(sendData, 0, sendData.Length, SocketFlags.None,
                                new AsyncCallback(sendCallback), clientSocket);
     }
     catch (Exception e)
     {
         com.QH.QPGame.GameUtils.Logger.Net.Log(e.Message);
     }
 }