3.2.5 Timeout management

The library is able to compute protocol deadlines, provided that the application pass the current time to the assh_event_get function.

The assh_session_deadline and assh_session_delay functions can be used in order to get the next protocol deadline. This allows the application to stop waiting on IOs after the right amount of time in order to let the library handle the timeout.

The assh_context_set_timeouts and assh_context_set_keepalive functions can be used to change the protocol delays.

Valid XHTML 1.0 StrictGenerated by diaxen on Sun Oct 25 23:30:45 2020 using MkDoc