Heartbeat

From Club Penguin Protocol
Jump to navigation Jump to search

This packet is sent by the client to the server in order to let it know that their connection is still alive and functioning.

If the server doesn't receive a heartbeat within a certain amount of time, the in-active client will be disconnected.

Note: Regardless of the heartbeat packet being sent or not, clients are still disconnected if they have done nothing within 15 minutes due to client-side code within most loaders (it's something the flash clients automatically do).

Examples

Client-side %xt%s%u#h%1%
Server-side %xt%h%1%