loop at near the very end for the client connection to sit on and accept any commands
send the client new messages. All of this after the client has already been authenticated and connected to the server. The problem I'm having is while waiting for the client to send commands in that
loop, how do I also send things back to the client at a pre-defined intervals? I've been trying to do this with weird tricks using