public async Task StartUdpMulticastListener(string ipAddr, int port, ICommunicationInterface communicationInterface = null)
 {
     await _udpMultiCastListener.JoinMulticastGroupAsync(ipAddr, port, communicationInterface, allowMultipleBindToSamePort : true);
 }
예제 #2
0
        public Task JoinMulticastGroupAsync()

        {
            return(_udpClient.JoinMulticastGroupAsync(_settings.MulticastAddress, _settings.MulticastPort,
                                                      _settings.Adapters));
        }