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.
Dependencies: DnsQuery
Dependents: WizFi310_TCP_Echo_Server_Example
Fork of NetworkSocketAPI by
Diff: NetworkInterface.h
- Revision:
- 95:b3c679f20d13
- Parent:
- 94:644df37bb05b
- Child:
- 96:656011e49d9f
diff -r 644df37bb05b -r b3c679f20d13 NetworkInterface.h
--- a/NetworkInterface.h Tue Apr 19 18:23:58 2016 -0500
+++ b/NetworkInterface.h Tue Apr 19 18:24:24 2016 -0500
@@ -87,11 +87,11 @@
}
/** Looks up the specified host's IP address
+ * @param address Destination for the host SocketAddress
* @param name Hostname to lookup
- * @param dest Destination for IP address, must have space for SocketAddress::IP_SIZE
* @return 0 on success, negative on failure
*/
- virtual int gethostbyname(const char *name, char *dest);
+ virtual int gethostbyname(SocketAddress *address, const char *name);
protected:
friend class Socket;
