using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Hazel { /// /// Represents the IP version that a connection or listener will use. /// /// /// If you wand a client to connect or be able to connect using IPv6 then you should use , /// this sets the underlying sockets to use IPv6 but still allow IPv4 sockets to connect for backwards compatability /// and hence it is the default IPMode in most cases. /// public enum IPMode { /// /// Instruction to use IPv4 only, IPv6 connections will not be able to connect. /// IPv4, /// /// Instruction to use IPv6 only, IPv4 connections will not be able to connect. IPv4 addresses can be connected /// by converting to IPv6 addresses. /// IPv6 } }