aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpCommunicationsServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'RSSDP/SsdpCommunicationsServer.cs')
-rw-r--r--RSSDP/SsdpCommunicationsServer.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/RSSDP/SsdpCommunicationsServer.cs b/RSSDP/SsdpCommunicationsServer.cs
index 92c9c83c0..da357546d 100644
--- a/RSSDP/SsdpCommunicationsServer.cs
+++ b/RSSDP/SsdpCommunicationsServer.cs
@@ -117,7 +117,7 @@ namespace Rssdp.Infrastructure
{
try
{
- _BroadcastListenSockets = ListenForBroadcastsAsync();
+ _BroadcastListenSockets = ListenForBroadcasts();
}
catch (SocketException ex)
{
@@ -333,7 +333,7 @@ namespace Rssdp.Infrastructure
return Task.CompletedTask;
}
- private List<ISocket> ListenForBroadcastsAsync()
+ private List<ISocket> ListenForBroadcasts()
{
var sockets = new List<ISocket>();
if (_enableMultiSocketBinding)
@@ -352,7 +352,7 @@ namespace Rssdp.Infrastructure
}
catch (Exception ex)
{
- _logger.LogError(ex, "Error in ListenForBroadcastsAsync. IPAddress: {0}", address);
+ _logger.LogError(ex, "Error in ListenForBroadcasts. IPAddress: {0}", address);
}
}
}