for building a simple chat broadcast server.
The trouble is that the server is blocking, and I would like it to periodically (say every 10 seconds) send a message to all connected clients, rather than just sending out messages on incoming messages from a client. Is there any way to trigger periodic events so the server will do this?
Any help is much appreciated