Added RAW sockets.
Fork of WIZnetInterface by
Diff: Socket/Endpoint.cpp
- Revision:
- 21:3b64df29662f
- Parent:
- 0:6f28332c466f
- Child:
- 30:3b0481541a06
--- 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);