Mount Fuji Engine  0.8b
int MFSockets_GetAddressInfo ( const char *  pAddress,
const char *  pServiceName,
const MFAddressInfo pHint,
MFAddressInfo **  ppAddressInfo 
)

Provides protocol-independent translation from host name to address.

Parameters
pAddressString containing a host (node) name or a numeric host address string. The numeric host address string is a dotted-decimal IPv4 address or an IPv6 hex address.
pServiceNameString containing either a service name or port number.
pHintPointer to an MFAddressInfo structure that provides hints about the type of socket the caller supports.
ppAddressInfoPointer to a linked list of one or more MFAddressInfo structures containing response information about the host.
Returns
Success returns zero. Failure returns a nonzero error code.