IPAddressVersion (MQLONG)
Specifies which IP address version, either IPv4 or IPv6, is used.
This attribute is only relevant for systems that run both IPv4 and IPv6 and only affects channels defined as having a TransportType of MQXPY_TCP when one of the following conditions is true:- The channel's ConnectionName is a host name that resolves to both an IPv4 and IPv6 address and its LocalAddress parameter is not specified.
- The channel's ConnectionName and LocalAddress are both host names that resolve to both IPv4 and IPv6 addresses.
The value can be any of the following values:
- MQIPADDR_IPv4
- IPv4 is used.
- MQIPADDR_IPv6
- IPv6 is used.
To determine the value of this attribute, use the MQIA_IP_ADDRESS_VERSION selector with the MQINQ call.