Exemplo n.º 1
0
        public bool SendDiscoveryRequest(byte[] data, int start, int length, int port)
        {
            if (!_running)
            {
                return(false);
            }
            var packet = NetPacket.CreateRawPacket(PacketProperty.DiscoveryRequest, data, start, length);

            return(_socket.SendMulticast(packet, 0, packet.Length, port));
        }