Previous Topic: INET_PTONNext Topic: IOCTL


Parameters

Parameter

Description

domain

Specifies the name of a fullword field containing the domain. domain can be specified as an absolute expression. Possible values are AF@INET and AF@INET6.

ip-address-string

Specifies the name of an area containing the IP address in standard string format.

ip-address-string-length

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

The maximum value for this parameter is determined by the type of address:

  • IPv4 address—IPADDS4L in Assembler and SOCKET-IPADDS4L in other languages
  • IPv6 address—IPADDS6L in Assembler and SOCKET-IPADDS6L in other languages

ip-address

Specifies the name of an area in which to return the IP address in binary format: a fullword for an IPv4 address, or a 16-byte area for an IPv6 address.