Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DISCO-F746NG_LCDTS_CC3000_NTP
Fork of NTPClient by
Revision 5:08db01ab9535, committed 2015-10-17
- 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 |
--- 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