Update SsdpCommunicationsServer.cs

This commit is contained in:
BaronGreenback
2020-06-26 15:22:39 +01:00
committed by GitHub
parent f01baad05e
commit 27f6e1ddc8

View File

@@ -339,7 +339,7 @@ namespace Rssdp.Infrastructure
private ISocket ListenForBroadcastsAsync()
{
var socket = _SocketFactory.CreateUdpMulticastSocket(SsdpConstants.MulticastLocalAdminAddress, _MulticastTtl, SsdpConstants.MulticastPort);
_ = ListenToSocketInternal(socket);
return socket;