InternetAddress

Constructors

this
this()

useful for Datagrams

this
this(const(char)[] addr, int port)

-port- can be PORT_ANY -addr- is an IP address or host name

this
this(uint addr, ushort port)
this
this(ushort port)

Inherited Members

From IPv4Address

ADDR_ANY
anonymousenum ADDR_ANY
sockaddr_in
struct sockaddr_in
name
sockaddr* name [@property getter]
nameLen
int nameLen [@property getter]
addressFamily
AddressFamily addressFamily [@property getter]
port
ushort port [@property getter]
addr
uint addr [@property getter]
toAddrString
char[] toAddrString [@property getter]
toPortString
char[] toPortString [@property getter]
toString
string toString()
parse
uint parse(const(char)[] addr)

-addr- is an IP address in the format "a.b.c.d" returns ADDR_NONE on failure

Meta