Server Send --------------- COMMAND: CLEARUSERS - Signal the client that a new list of users is coming. (See COMMAND: USER:) COMMAND: RMUSER: {user} - Specify one user has been removed from the clients vector. COMMAND: USER: {user} - Specify one user will be added to the clients vector. MESSAGE: {user}: {text} - The message received modified to add the user who sent it. Server Receive --------------- COMMAND: SENDUSERS - Process a user list refresh. MESSAGE: {text} - The message to be sent to all. MESSAGETO: {user}: {text} - The message to be sent to a particular person. Client Send --------------- COMMAND: SENDUSERS - Request the list of users. MESSAGE: {text} - The message to be sent to all. MESSAGETO: {user}: {text} - The message to be sent to a particular person. Client Receive --------------- COMMAND: CLEARUSERS - Nuke the list of users in anticipation of receiving a new list. (See COMMAND: USER:) COMMAND: RMUSER: {user} - Delete the specified person from the user list. COMMAND: USER: {user} - One of the users attached to the server. This will most likely be followed by additional USER: lines so treat each as an addition to the list. MESSAGE: {text} - Broadcast message sent by another user. MESSAGETO: {text} - Directed message sent by another user.