Change NTPClient.cpp: m_sock.bind(0) -> m_sock.bind(123)

Dependents:   DISCO-F746NG_LCDTS_CC3000_NTP

Fork of NTPClient by Donatien Garnier

Files at this revision

API Documentation at this revision

Comitter:
JackB
Date:
Sat Oct 17 23:05:17 2015 +0000
Parent:
4:881559865a93
Commit message:
Change NTPClient.cpp: m_sock.bind(0) -> m_sock.bind(123)

Changed in this revision

NTPClient.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 881559865a93 -r 08db01ab9535 NTPClient.cpp
--- a/NTPClient.cpp	Sun Aug 05 16:10:57 2012 +0000
+++ b/NTPClient.cpp	Sat Oct 17 23:05:17 2015 +0000
@@ -60,7 +60,7 @@
 
   //Create & bind socket
   DBG("Binding socket");
-  m_sock.bind(0); //Bind to a random port
+  m_sock.bind(123); //Bind to a random port
   
   m_sock.set_blocking(false, timeout); //Set not blocking