Client ping

Luigi Paioro luigi at lambrate.inaf.it
Wed Jul 9 05:38:36 PDT 2008


Mark and Alasdair,

> In my opinion it's OK for hub implementations to forcibly unregister 
> inactive clients (perhaps based on some user configuration for what 
> length of inactivity should be tolerated) if they choose to. But I don't 
> think that the standard should mandate that this should or must happen.

OK

> It may be worth having a new MType (samp.hub.disconnect?) which the hub 
> sends to an application to inform it that it is being forcibly 
> unregistered and no further communication is welcome. In most cases (if 
> the client has disappeared in any case) this message will go unheard by 
> its intended recipient, but there may be other occasions
> on which a hub wishes to forcibly disconnect a client.

I agree with you, samp.hub.disconnect (or samp.hub.event.disconnect? I'm 
a bit confused concerning the use of "event") looks to be quite useful 
for all those cases where a hub wishes to disconnect a client (for any 
reason).


Luigi



More information about the apps-samp mailing list