Concept Flow - Broadcasting to connected clients
Server starts and listens
Client connects
Server stores client socket
Server receives message/event
Server loops over all clients
Send message to each client
Clients receive broadcast message
The server listens for clients, stores their connections, and when a message arrives, it sends that message to all connected clients.