Yortw / RSSDP

Really Simple Service Discovery Protocol - a 100% .Net implementation of the SSDP protocol for publishing custom/basic devices, and discovering all device types on a network.

Home Page:http://yortw.github.io/RSSDP/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newlines are not sent

sandromastronardi opened this issue · comments

I tried making my own virtual device but i could not get it to work, when I used the uPnP sniffer i noticed why... my NOTIFY packages are sent without newlines while others do have newlines...

private const string DeviceSearchResponseMessageFormat = @"HTTP/1.1 200 OK

I noticed the locator uses \r\n but here it is just a newline in the literal, an I think GIT replaces them with \n on check-in and maybe when you build on Linux (or some other reason) they are not reinstated and thus the package does not send the notifications correct?

ok, I was using this library for the net framework and the Rssdp.NetStd for .net core... it appears to be there not here...