Chat MULTIPLE clients

Hello guys!

The method below is the only way I know how to achive a "chat function". Other/better methods are welcome.

Lets say we have 4 people/clients in a room. One of them writes something, and the server sends that message back to all the other clients in the same room. This can work.

But what if there is 10000 people/clients in the same room, then we would probably have a little delay.

Is there a smarter/faster way to do this?
Last edited on
1. Multicast.
2. DHT network (like torrent).
Thanks man. This seems interesting. I'll dive into it
Topic archived. No new replies allowed.