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 value can be:

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.