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

Retrieves host address information for the host specified in pszHostname.

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 ASCIIZ name of the host to lookup/resolve.
pAddr[ out ] The address of P6NETADDR structure that will receive the hosts address information.
Returns