So I've been tasked with developing a chat application for one of my classes. I am (obviously) going to use an active scheduler to help with the networking side of this guy. My question is, how do I use the AS to listen for the server's notifications of a new message arriving. The protocol we have implemented allows the client to notify the server of new messages and then the server will rebroadcast this message to all of its connected clients. I need to "listen" for that somehow.