Websockets connections with PHP

Asked

Viewed 213 times

1

I’m using this class to work with Websockets in PHP together with HTML5 and I have two questions about the connections.

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

  • As I can disconnect a connection only, for example, I am on the X connection and want to disconnect Y?

  • It seems that the answer of old7 indicates the path of the stones, but it can be more precise if you show what you are doing. You can [Dit] the question with an example of your class usage?

1 answer

4


public $wsClients = array();

and

function wsRemoveClient($clientID)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.