stringToIpv4

Convert a string representation of an IPv4 address to a number

uint
stringToIpv4
(
in string str
)

Parameters

str string

the string representation

Return Value

Type: uint

integer IPv4 address

Meta