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: w7500-paho-mqtt openHAB_mqtt_W7500 kakaoIoTchatbot w7500-RFID-mqtt
Fork of WIZnetInterface by
Revision 21:3b64df29662f, committed 2015-07-30
- Comitter:
- hjjeon
- Date:
- Thu Jul 30 08:15:40 2015 +0000
- Parent:
- 20:bda61525ac71
- Child:
- 22:b727920ecc5d
- Commit message:
- Add error message at set_address.
Changed in this revision
| Socket/Endpoint.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Socket/Endpoint.cpp Wed Jul 22 02:11:37 2015 +0000
+++ b/Socket/Endpoint.cpp Thu Jul 30 08:15:40 2015 +0000
@@ -41,6 +41,7 @@
}
uint32_t addr;
if (!eth->gethostbyname(host, &addr)) {
+ error("DNS error : Cannot get url from DNS server\r\n");
return -1;
}
snprintf(_ipAddress, sizeof(_ipAddress), "%d.%d.%d.%d", (addr>>24)&0xff, (addr>>16)&0xff, (addr>>8)&0xff, addr&0xff);
