Previous Topic: PurposeNext Topic: Return Code


Arguments

The following table gives a brief description of each of the arguments.

Name

I/O

Description

In

Input

A socket sockaddr_storage structure containing the IP address for which a textual hostname is to be provided.

*hostName

Output

A pointer to a character array updated by this exit with the hostname corresponding to the sockaddr_storage structure content.

maxHostNameLen

Input

An integer value containing the maximum length of the character array pointed to by the hostName argument.