Fixed NTPResult values
Dependents: NTPClient_HelloWorld_WIZ550io LPC11U68_NTPClient_HelloWorld_WIZ550io SNIC-ntpclient-example NTPClient_HelloWorld ... more
Fork of NTPClient by
Diff: NTPClient.cpp
- Revision:
- 5:c70ed0bfab2e
- Parent:
- 4:881559865a93
- Child:
- 6:15c04f752381
--- a/NTPClient.cpp Sun Aug 05 16:10:57 2012 +0000
+++ b/NTPClient.cpp Sun Dec 22 13:59:33 2013 +0000
@@ -91,6 +91,7 @@
if( outEndpoint.set_address(host, port) < 0)
{
+ ERR("Could not resolve name");
m_sock.close();
return NTP_DNS;
}
ban4jp -
