001package NeoVisionaries.WebSockets;
002
003
004/**
005 * The dual stack mode defines which IP address families will be used to
006 * establish a connection.
007 * 
008 * <EMBED CLASS='external-html' DATA-FILE-ID=LICENSE>
009 */
010public enum DualStackMode
011{
012    /**
013     * Try both IPv4 and IPv6 to establish a connection. Used by default and
014     * should generally be preferred.
015     */
016    BOTH,
017
018
019    /**
020     * Only use IPv4 to establish a connection.
021     */
022    IPV4_ONLY,
023
024
025    /**
026     * Only use IPv6 to establish a connection.
027     */
028    IPV6_ONLY,
029}