NTP Client for the mbed networking libraries

Dependents:   WiFiDip-KitchenSink WiFiDip-UsbKitchenSink WiFiDipCortexSensor

Fork of NTPClient by Donatien Garnier

This is a temporary fork of NTPClient by Donatien Garnier

Revision:
5:76d570815832
Parent:
4:881559865a93
Child:
6:240ec02c4bc3
--- a/NTPClient.cpp	Sun Aug 05 16:10:57 2012 +0000
+++ b/NTPClient.cpp	Mon Oct 07 21:16:20 2013 +0000
@@ -60,7 +60,7 @@
 
   //Create & bind socket
   DBG("Binding socket");
-  m_sock.bind(0); //Bind to a random port
+  m_sock.bind(NTP_PORT); //Bind to a random port
   
   m_sock.set_blocking(false, timeout); //Set not blocking