setKeepAlive method

Socket setKeepAlive([
  1. bool enable,
  2. dynamic initialDelay
])

Implementation

external Socket setKeepAlive([bool enable, initialDelay]);