update ssdp socket binding

This commit is contained in:
Luke Pulverenti 2014-08-31 14:28:41 -04:00
parent bdc04cda17
commit 5a3ca5b6f9

View File

@ -170,7 +170,10 @@ namespace MediaBrowser.Dlna.Ssdp
values["ST"] = d.Type; values["ST"] = d.Type;
values["USN"] = d.USN; 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) if (_config.GetDlnaConfiguration().EnableDebugLogging)
{ {