Previous Topic: GETHOSTBYADDRNext Topic: Notes


Parameters

Parameter

Description

ip-address

Specifies the name of a fullword field containing the binary format IP address to resolve.

ip-address-length

Specifies the name of a fullword field containing the length of ip-address. ip-address-length can be specified as an absolute expression.

The maximum value for this parameter is defined by IPADDR4L in Assembler and SOCKET-IPADDR4L in other languages.

domain

Specifies the name of a fullword field containing the domain. domain can be specified as an absolute expression. Currently, only AF_INET is supported.

hostentp

Specifies the name of a fullword field in which the system returns the address of a HOSTENT structure containing the information about the host.