1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | package NeoVisionaries.WebSockets; /** * The dual stack mode defines which IP address families will be used to * establish a connection. * * <EMBED CLASS='external-html' DATA-FILE-ID=LICENSE> */ public enum DualStackMode { /** * Try both IPv4 and IPv6 to establish a connection. Used by default and * should generally be preferred. */ BOTH, /** * Only use IPv4 to establish a connection. */ IPV4_ONLY, /** * Only use IPv6 to establish a connection. */ IPV6_ONLY, } |