Heartbeat: Difference between revisions

From Club Penguin Protocol
Jump to navigation Jump to search
imported>Refractor
No edit summary
 
imported>Lisured
added missing letter
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
If the server doesn't receive a heartbeat within a certain amount of time, the in-active client will be disconnected.
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).
'''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 ==
== Examples ==

Latest revision as of 23:01, 3 June 2014

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%