IPAddressFamily

public struct IPAddressFamily: CustomStringConvertible

The possible IP address family options that can be set.

  • The textual representation of the IP address family.

    Declaration

    Swift

    public let description: String
  • any

    Use any IP address family.

    Declaration

    Swift

    public static let any = IPAddressFamily(description: "any")
  • v4

    Use any IPv4 address family.

    Declaration

    Swift

    public static let v4 = IPAddressFamily(description: "v4")
  • v6

    Use any IPv6 address family.

    Declaration

    Swift

    public static let v6 = IPAddressFamily(description: "v6")