InternetAddress.this

Construct a new InternetAddress.

  1. this(const(char)[] addr, ushort port)
    class InternetAddress
    this
    (
    scope const(char)[] addr
    ,
    ushort port
    )
  2. this(uint addr, ushort port)
  3. this(ushort port)
  4. this(sockaddr_in addr)

Parameters

addr const(char)[]

an IPv4 address string in the dotted-decimal form a.b.c.d, or a host name which will be resolved using an InternetHost object.

port ushort

port number, may be PORT_ANY.

Meta