IPRange

struct IPRange

Represents an IP network segment

  • IP Address.

    Declaration

    Swift

    var ipAddress: String
  • Network prefix length.

    Declaration

    Swift

    var prefixLength: Int
  • Custom intialization of an IP address.

    Declaration

    Swift

    init(ipAddress: String, prefixLength: Int)
  • Transforms an IP address into a string.

    Declaration

    Swift

    func toString() -> String
  • Custom intialization with an IP address.

    Declaration

    Swift

    init(range: String)