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.
http://yortw.github.io/RSSDP/
MIT License
282 stars 66 forks source link

Make UdpResendCount and delay configurable #77

Closed petermajor closed 6 years ago

petermajor commented 6 years ago

RSSDP is a great component, thanks for building it!

I needed to configure the resend behaviour for my app, but the value is a constant.

Currently I've had to copy/paste the entire SsdpCommunicationsServer class in order to use the nuget package and modify the resend behaviour.

If you could make it configurable, as per the pull request, then I could use the nuget package without modification. That would be awesome!

Yortw commented 6 years ago

Thanks for the kind words and the PR, much appreciated! I've finally found time to review and merge this. Should be published via Nuget shortly as version 4.0.0.0.