NetworkSocketAPI
Dependents: HelloWizFi250Interface
Fork of NetworkSocketAPI by
Diff: NetworkInterface.h
- Revision:
- 95:b3c679f20d13
- Parent:
- 94:644df37bb05b
- Child:
- 96:656011e49d9f
--- 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;