Method Stdio.Fd()->set_keepalive()
- Method set_keepalive
bool
set_keepalive(bool
on_off
)- Description
Equivalent to setsockopt(Stdio.SO_KEEPALIVE, on_off), but will set errno if SO_KEEPALIVE is not supported, rather than issuing a compilation error for the missing constant.