Adding default port range (#117)

This commit is contained in:
Luigi 2020-09-07 17:14:47 +02:00 committed by GitHub
parent aff9c6b008
commit d7d8b4512b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ class NTPClient {
/** /**
* Set random local port * Set random local port
*/ */
void setRandomPort(unsigned int minValue, unsigned int maxValue); void setRandomPort(unsigned int minValue = 49152, unsigned int maxValue = 65535);
/** /**
* Starts the underlying UDP client with the default local port * Starts the underlying UDP client with the default local port