TooTallNate / Java-WebSocket

A barebones WebSocket client and server implementation written in 100% Java.
http://tootallnate.github.io/Java-WebSocket
MIT License
10.33k stars 2.56k forks source link

How to send heartbeat packets at regular intervals #1381

Closed mcchampions closed 4 months ago

mcchampions commented 5 months ago

How to send heartbeat packets at regular intervals

marci4 commented 5 months ago

What heartbeat do you mean?

PhilipRoman commented 5 months ago

This might be what you're looking for: https://github.com/TooTallNate/Java-WebSocket/wiki/Lost-connection-detection