Looks like I just needed to RTFM... Sorry.

 

Josh Hawley

Hawley Hosting

jhaw...@hawleyhosting.com

 

From: Nicholas O'Leary [mailto:nick.ole...@gmail.com] 
Sent: Monday, December 31, 2012 2:09 AM
To: Josh Hawley
Subject: Re: [Mosquitto-users] Mosquitto Client state

 

Hi josh,

 

Have a look at this page on the wiki:
http://mqtt.org/wiki/doku.php/presence 

 

It describes how to track which clients are connected, without relying
on any particular broker-specific feature. The clients announce
themselves on connect, and use the Will feature of MQTT to announce
their disconnection.

 

Cheers,

Nick


On Monday, 31 December 2012, Josh Hawley wrote:

Is there any way to tell when individual clients connect and disconnect?
I see that there are some statistics, but what I am looking for is a
logging channel something like "Client: <clientid> disconnected". I can
easily just make my clients announce themselves when they connect, but
that doesn't work for disconnects.

 

Josh Hawley

Hawley Hosting

jhaw...@hawleyhosting.com
<javascript:_e(%7b%7d,%20'cvml',%20'jhaw...@hawleyhosting.com');> 

 

-- 
Mailing list: https://launchpad.net/~mosquitto-users
Post to     : mosquitto-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mosquitto-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to