Exemple #1
0
 //---------------------------------------------
 private void HandleKcpSend(byte[] buff, int size)
 {
     if (NetDebuger.EnableWeakNet)
     {
         NetDebuger.WeakNetSimulate(this, buff, size, HandleKcpSend_Hook);
     }
     else
     {
         if (m_Socket != null)
         {
             m_Socket.SendTo(buff, 0, size, SocketFlags.None, m_RemotePoint);
         }
     }
 }