session_t::keepalive field
*MQTT* keepalive, default is 120 seconds When configuring this value, keep in mind that the client attempts to communicate with the broker at half the interval that is actually set. This conservative approach allows for more attempts before the broker's timeout occurs
![]()
int keepalive;
session_t::keepalive is read by 1 function:
![]()
session_t::keepalive