浏览代码

ExclusiveAddressUse: cheated by the docs

Bond_009 3 年之前
父节点
当前提交
470d175f32
共有 1 个文件被更改,包括 2 次插入0 次删除
  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