Ice.IPv6

Ice.IPv6

Synopsis

Ice.IPv6=num

Description

Specifies whether Ice uses IPv6. If num is a value greater than zero, IPv6 is enabled. If not specified, the default value is 1 if the system supports the creation of IPv6 sockets, and 0 otherwise.

Platform Notes

Java

Java's default network stack always accepts both IPv4 and IPv6 connections regardless of the settings of Ice.IPv6. You can configure the Java run time to use only IPv4 by starting your application with the following JVM option:

Java
java -Djava.net.preferIPv4Stack=true ...