yiicod / yii2-socketio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to list all connected sockets?

neovash23 opened this issue · comments

Hi,

On the Server side, all I work on is the PHP event classes, but I could not figure out how to get the connected users or sockets. is there a way to do this? all the samples I get is doing it from nodejs. But I am trying to avoid that right now if possible.

I am trying to have an "Online Users" list on my dashboard.

Create table and save/find online users by db. Right now it is simple nodejs bridge between php and client

@neovash23 I will think about this feature in the future. The main think was, implement tiny bridge for php + socketio.

Yes, and you have done a good job in doing so! thanks!