Example #1
0
        public uint SendMessage(BitStream data, RakNetGUID recipent, PacketPriorityEnum priority = PacketPriorityEnum.LOW_PRIORITY, PacketReliabilityEnum reliability = PacketReliabilityEnum.UNRELIABLE, byte channel = 0)
        {
            Debug.Assert(data.GetNumberOfBytesUsed() > 0, "no data");
            uint ret = m_peer.Send(data, priority, reliability, channel, recipent, false);

            Debug.Assert(ret != 0, "bad input?");
            return(ret);
        }