Update SsdpCommunicationsServer.cs

This commit is contained in:
BaronGreenback 2020-06-26 15:24:46 +01:00 committed by GitHub
parent 27f6e1ddc8
commit 2272363197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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