The OpenD Programming Language

InternetAddress.parse

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

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

Return Value

Type: uint

If the string is not a legitimate IPv4 address, ADDR_NONE is returned.

Meta