Connection.receiveTimeout

Mutator; sets the receive timeout socket option to the passed duration.

  1. auto receiveTimeout()
  2. void receiveTimeout(uint dur)
    struct Connection
    @property
    void
    receiveTimeout
    (
    const uint dur
    )

Parameters

dur uint

The duration to assign as receive timeout, in number of milliseconds.

Meta