InternetAddress.parse

uint parse(scope const(char)[] addr) @trusted nothrow

Parse an IPv4 address string in the dotted-decimal form a.b.c.d and return the number.

Returns

If the string is not a legitimate IPv4 address,

ADDR_NONE is returned.