diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-08-31 14:28:41 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-08-31 14:28:41 -0400 |
| commit | 5a3ca5b6f963082baa0126c085581978b785e986 (patch) | |
| tree | a8be8c1880541aef359e1e1812ba0ea45104c69f | |
| parent | bdc04cda174da26631e6f9ec90f7dccf9efda941 (diff) | |
update ssdp socket binding
| -rw-r--r-- | MediaBrowser.Dlna/Ssdp/SsdpHandler.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs b/MediaBrowser.Dlna/Ssdp/SsdpHandler.cs index b8c64a787..a237a0d67 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) { |
