コード例 #1
0
 public void Send(Core.Networking.OutPacket outPacket)
 {
     try
     {
         byte[] sendBuffer = outPacket.BuildEncrypted();
         socket.BeginSend(sendBuffer, 0, sendBuffer.Length, SocketFlags.None, new AsyncCallback(SendCallback), null);
     }
     catch { Disconnect(); }
 }