From 5a3ca5b6f963082baa0126c085581978b785e986 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 31 Aug 2014 14:28:41 -0400 Subject: [PATCH] update ssdp socket binding --- MediaBrowser.Dlna/Ssdp/SsdpHandler.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs b/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs index b8c64a7871..a237a0d676 100644 --- a/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs +++ b/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs @@ -170,7 +170,10 @@ namespace MediaBrowser.Dlna.Ssdp values["ST"] = d.Type; values["USN"] = d.USN; - SendDatagram(header, values, endpoint, new IPEndPoint(d.Address, 0)); + // Commenting this out because binding to the local ipendpoint often throws an error + //SendDatagram(header, values, endpoint, new IPEndPoint(d.Address, 0)); + + SendDatagram(header, values, endpoint, null); if (_config.GetDlnaConfiguration().EnableDebugLogging) {