sending heartbeat from the client

76 views
Skip to first unread message

BNSF 6421

unread,
Jan 2, 2021, 6:54:33 PM1/2/21
to WebSocket++
A server I'm connecting to automatically force closes connections on clients if it doesn't receive a status message with the expected status payload every so many minutes. Is there a way to have a timer that runs to send that status message but doesn't block the main thread from receiving and sending regular messages.

Thanks

Matthew
Reply all
Reply to author
Forward
0 new messages