|
int MFSockets_GetAddressInfo |
( |
const char * |
pAddress, |
|
|
const char * |
pServiceName, |
|
|
const MFAddressInfo * |
pHint, |
|
|
MFAddressInfo ** |
ppAddressInfo |
|
) |
| |
Provides protocol-independent translation from host name to address.
- Parameters
-
pAddress | String 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. |
pServiceName | String containing either a service name or port number. |
pHint | Pointer to an MFAddressInfo structure that provides hints about the type of socket the caller supports. |
ppAddressInfo | Pointer 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.
|