robertvazan / guerrillantp

Simple NTP (SNTP) client library providing .NET applications with accurate network time.
https://guerrillantp.machinezoo.com/
Apache License 2.0
67 stars 17 forks source link

Define timeout from constructor #2

Closed kvpt closed 3 years ago

kvpt commented 3 years ago

I need to define the timeout before making a query to ntp server. So I added two new constructors that take a timeout as argument. I did not modify the two current constructors to not introduce ABI breakage. Also updated the test project to net3.1 which is the current LTS version.

robertvazan commented 3 years ago

Looks good. I merged it. Thanks.