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
Type: ubyte

First byte of the address.

byte1
Type: ubyte

Second byte of the address.

byte2
Type: ubyte

Third byte of the address.

byte3
Type: ubyte

Fourth byte of the address.

Meta