Selaa lähdekoodia

ExclusiveAddressUse: cheated by the docs

Bond_009 3 vuotta sitten
vanhempi
sitoutus
470d175f32
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      Emby.Server.Implementations/Net/SocketFactory.cs

+ 2 - 0
Emby.Server.Implementations/Net/SocketFactory.cs

@@ -80,6 +80,8 @@ namespace Emby.Server.Implementations.Net
 
             var retVal = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
 
+            retVal.ExclusiveAddressUse = false;
+
             try
             {
                 // seeing occasional exceptions thrown on qnap