FlexHub Forum

Protocol talk => ADC Protocol => Topic started by: FlipFlop™ on March 28, 2012, 10:40:24

Title: ALIV - Simple extension to check if the connection is still alive
Post by: FlipFlop™ on March 28, 2012, 10:40:24
Can be hub or client initiated:

Hub sends: ILIV TOtoken
Client sends: HLIV <sid> TOtoken

Client sends HLIV <sid> TOtoken
Hub sends: ILIV TOtoken
Title: Re: ALIV - Simple extension to check if the connection is still alive
Post by: FlipFlop™ on April 25, 2012, 08:04:22
This extension has been added to FlexHub now (svn 1303).
Title: Re: ALIV - Simple extension to check if the connection is still alive
Post by: en_dator on April 28, 2012, 14:58:27
For now the implementation is not complete,

This is what is done so far:

Client will display ALIV in supports (!ui)
Hub will reply with ILIV TOtoken if a client sends HLIV TOtoken

Hub does not send out ILIV by itself, but it is possible to trigger one manually with !sendalive <nick>
The hub will then send a ILIV TOtoken and if the client replies it will report back that its ok.

more to follow.

/1d