Connections websockets with PHP

1

I'm using this class to work with WebSockets in PHP next to HTML5 and I have two doubts about the connections.

  • How can I list all the active connections on that server?

  • How can I disconnect a connection only, for example, I'm in connection X and want to disconnect Y?

asked by anonymous 22.12.2014 / 17:25

1 answer

4
public $wsClients = array();

and

function wsRemoveClient($clientID)
    
22.12.2014 / 19:57