Respond pings with pongs.
authorThadeu Lima de Souza Cascardo <cascardo@cascardo.info>
Thu, 10 Oct 2013 21:33:07 +0000 (18:33 -0300)
committerThadeu Lima de Souza Cascardo <cascardo@cascardo.info>
Thu, 10 Oct 2013 21:33:07 +0000 (18:33 -0300)
commitf7c4d6ccc1fd3c452481a2d085486f8dec3860fb
tree0dab0be3da0fc8b5d27595a7e7d6c61965b3ea4e
parent123b3a7a3989a0f040da5cc16f997ff5961fe593
Respond pings with pongs.

Set the state of a friend as offline if timeout goes without receiving
PONG. If PING is received, send PONG. If PONG is received, set state as
online.
friend.c
friend.h
message.c
message.h