aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Net/ISocketFactory.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-06-24 17:23:16 +0100
committerBaronGreenback <jimcartlidge@yahoo.co.uk>2020-06-24 17:23:16 +0100
commitf01baad05e5abc8875fa36f9075f8684857115e7 (patch)
tree9f5b9e55e889f260726395cdfd832806cf3287c9 /MediaBrowser.Model/Net/ISocketFactory.cs
parentc07d8abfd57fbdc67ad2a0189e1c6149b8244a65 (diff)
Sending multicasts out of Sockets without setting the broadcast to true - causes the error "Bad value for ai_flags" on some systems (#3404)
The underlying cause looks to be https://github.com/dotnet/runtime/issues/28630. Basically, it's an access denied bug. It looks like multicasts need the same access rights as broadcasts on some systems.
Diffstat (limited to 'MediaBrowser.Model/Net/ISocketFactory.cs')
-rw-r--r--MediaBrowser.Model/Net/ISocketFactory.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Net/ISocketFactory.cs b/MediaBrowser.Model/Net/ISocketFactory.cs
index c4e154064..363abefc1 100644
--- a/MediaBrowser.Model/Net/ISocketFactory.cs
+++ b/MediaBrowser.Model/Net/ISocketFactory.cs
@@ -1,7 +1,6 @@
#pragma warning disable CS1591
using System.Net;
-using Microsoft.Extensions.Logging;
namespace MediaBrowser.Model.Net
{
@@ -25,6 +24,5 @@ namespace MediaBrowser.Model.Net
/// <param name="localPort">The local port to bind to.</param>
/// <returns>A <see cref="ISocket"/> implementation.</returns>
ISocket CreateUdpMulticastSocket(string ipAddress, int multicastTimeToLive, int localPort);
-
}
}