define and use ( NTP_CLIENT_PORT )

Dependents:   header_main header_main_public header_main_publish header_main_colinas_V0

Fork of NTPClient by Jhonatan Casale

Files at this revision

API Documentation at this revision

Comitter:
klauss
Date:
Tue Sep 16 21:02:07 2014 +0000
Parent:
7:1114d8054150
Commit message:
basic config

Changed in this revision

NTPClient.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 1114d8054150 -r 95a72c23f3c6 NTPClient.cpp
--- a/NTPClient.cpp	Thu Aug 28 12:23:53 2014 +0000
+++ b/NTPClient.cpp	Tue Sep 16 21:02:07 2014 +0000
@@ -41,7 +41,7 @@
 #include "mbed.h" //time() and set_time()
 
 #define NTP_PORT 123
-#define NTP_CLIENT_PORT 8138 // specific port
+#define NTP_CLIENT_PORT 18138 // specific port
 #define NTP_TIMESTAMP_DELTA 2208988800ull //Diff btw a UNIX timestamp (Starting Jan, 1st 1970) and a NTP timestamp (Starting Jan, 1st 1900)
 
 NTPClient::NTPClient() : m_sock()