IPRange
public struct IPRange : Equatable
Represents an IP network segment
-
IP Address.
Declaration
Swift
public var ipAddress: String -
Network prefix length.
Declaration
Swift
public var prefixLength: Int -
Custom intialization of an IP address.
Declaration
Swift
public init(ipAddress: String, prefixLength: Int) -
Transforms an IP address into a string.
Declaration
Swift
public func toString() -> String -
Custom intialization with an IP address.
Declaration
Swift
public init(range: String) -
Declaration
Swift
public static func == (lhs: IPRange, rhs: IPRange) -> Bool