IpAddress.this

Construct the address from 4 bytes.

Calling IpAddress(a, b, c, d) is equivalent to calling IpAddress("a.b.c.d"), but safer as it doesn't have to parse a string to get the address components.

  1. this(const(char)[] address)
  2. this(ubyte byte0, ubyte byte1, ubyte byte2, ubyte byte3)
    struct IpAddress
    this
    (
    ubyte byte0
    ,
    ubyte byte1
    ,
    ubyte byte2
    ,
    ubyte byte3
    )
  3. this(uint address)

Parameters

byte0 ubyte

First byte of the address.

byte1 ubyte

Second byte of the address.

byte2 ubyte

Third byte of the address.

byte3 ubyte

Fourth byte of the address.

Meta