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.
Diff: SocketAddress.cpp
- Revision:
- 23:b3c679f20d13
- Parent:
- 22:644df37bb05b
- Child:
- 25:68232387bc75
--- a/SocketAddress.cpp Tue Apr 19 18:23:58 2016 -0500 +++ b/SocketAddress.cpp Tue Apr 19 18:24:24 2016 -0500 @@ -98,10 +98,8 @@ address_to_ipv4(_ip_bytes, host); } else { // DNS lookup - char addr[NSAPI_IP_SIZE]; - int err = iface->gethostbyname(host, addr); + int err = iface->gethostbyname(this, host); if (!err) { - set_ip_address(addr); set_port(port); } else { _ip_version = NSAPI_IPv4;