typedef void (*SilcSocketConnectionHBCb)(SilcSocketConnection sock, void *context);
Heartbeat callback function. This is the function in the application that this library will call when it is time to send the keepalive packet SILC_PACKET_HEARTBEAT.