, I want to determine whether a given channel is subscribed by someone or how many users are subscribed to a given channel and which IP address has the connected / requesting client during a request
. I read the documentation of Stats socket. I developed a WebSocket proxied Node.js server app like described here: Example using WebSockets
Do I understand it right, that I can not
check the IP address of the client or count the users of a channel during a request made by a client
? I can listen
to the events of the Stats socket and do some action when an specific event occurs, only
? Should I understand it correct, are there any solutions for my issue? (The IP address can be sent by the client in the request but how I can count the clients of a channel during the request) Thanks. Best regards.