IpAddress.toInteger

Get an integer representation of the address.

The returned number is the internal representation of the address, and should be used for optimization purposes only (like sending the address through a socket). The integer produced by this function can then be converted back to an $(U IpAddress) with the proper constructor.

struct IpAddress
int
toInteger
const
(
)

Return Value

Type: int

32-bits unsigned integer representation of the address.

Meta