InternetAddress.this

this() pure nothrow @nogc
No documentation available for this declaration.
this(scope const(char)[] addr, ushort port)

Construct a new InternetAddress.

Parameters

addran IPv4 address string in the dotted-decimal form a.b.c.d, or a host name which will be resolved using an InternetHost object.
portport number, may be PORT_ANY.
this(uint addr, ushort port) pure nothrow @nogc

Construct a new InternetAddress.

Parameters

addr(optional) an IPv4 address in host byte order, may be ADDR_ANY.
portport number, may be PORT_ANY.
this(ushort port) pure nothrow @nogc

ditto

this(sockaddr_in addr) pure nothrow @nogc

Construct a new InternetAddress.

Parameters

addrA sockaddr_in as obtained from lower-level API calls such as getifaddrs.