Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6INetdb::getHostByNameW ( const P6WCHAR pszHostname,
P6NETADDR *  pAddr 
)
pure virtual

Retrieves host address information for the host specified in pszHostname.

This is the wide character version of the getHostByName() method. The specified hostname can optionally have the port appended to it (eg. "www.google.com:443") and the resulting P6NETADDR will be populated with the specified port.

Parameters
pszHostname[ in ] A pointer to the NULL terminated wide character name of the host to lookup/resolve.
pAddr[ out ] The address of P6NETADDR structure that will receive the hosts address information.
Returns