Heartbeat

From Club Penguin Protocol
Revision as of 17:42, 27 November 2013 by imported>Refractor
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 lient-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%