Linger.this

System dependent constructor.

  1. this(ushort timeout)
  2. this(LingerField l_onoff, LingerField l_linger)
    struct Linger
    this
    (
    LingerField l_onoff
    ,
    LingerField l_linger
    )

Parameters

l_onoff LingerField

$(D_PSYMBOL l_onoff) value.

l_linger LingerField

$(D_PSYMBOL l_linger) value.

Examples

auto linger = Linger(1, 5);
assert(linger.l_onoff == 1);
assert(linger.l_linger == 5);

Meta