Explorar o código

Make sure to configure socket with Broadcast-options

7illusions %!s(int64=9) %!d(string=hai) anos
pai
achega
e3c6932aac
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      MediaBrowser.Dlna/Ssdp/SsdpHandler.cs

+ 2 - 2
MediaBrowser.Dlna/Ssdp/SsdpHandler.cs

@@ -230,8 +230,8 @@ namespace MediaBrowser.Dlna.Ssdp
                     values["ST"] = d.Type;
                     values["USN"] = d.USN;
 
-                    SendDatagram(header, values, endpoint, null, true, 1);
-                    SendDatagram(header, values, endpoint, new IPEndPoint(d.Address, 0), true, 1);
+                    SendDatagram(header, values, endpoint, null, false, 1);
+                    SendDatagram(header, values, endpoint, new IPEndPoint(d.Address, 0), false, 1);
                     //SendDatagram(header, values, endpoint, null, true);
 
                     if (enableDebugLogging)