You may want to check my old project: https://github.com/ngaranko/game
Warning: not supported in any way, not documented and not very clear. But 
was working back then.

Idea is simple: each websocket connection registers in pool (arena process) 
and later you can send messages to all in pool using arena lib.
Something like this. Maybe there's better solution.

-Nick

On Wednesday, 30 September 2015 19:55:16 UTC+2, Gustavo A. León Tramontin 
wrote:
>
> Hi everyone
>
> I've been doing some tests with websockets, and I have some things working 
> now, such as sending messages from a client to the other connected clients, 
> but now I have a question. How to send a message to all connected clients, 
> directly from the server? It is the only question that has arisen me.
>
> Many thanks :)
>

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/488f5816-7c62-4f08-ae6d-37955afd0403%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to