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: NTPClient_HelloWorld
Fork of NTPClient by
Revision 3:17d8bad407cc, committed 2012-08-05
- Comitter:
- donatien
- Date:
- Sun Aug 05 16:10:33 2012 +0000
- Parent:
- 2:9a64a50df235
- Child:
- 4:881559865a93
- Commit message:
- Fixed blocking mode
Changed in this revision
| NTPClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/NTPClient.cpp Sun Aug 05 15:36:47 2012 +0000
+++ b/NTPClient.cpp Sun Aug 05 16:10:33 2012 +0000
@@ -62,7 +62,7 @@
DBG("Binding socket");
m_sock.bind(0); //Bind to a random port
- m_sock.set_blocking(true, timeout); //Set blocking
+ m_sock.set_blocking(false, timeout); //Set not blocking
struct NTPPacket pkt;
