utils.message

Undocumented in source.

Members

Functions

receiveMessage
void receiveMessage(Socket originator, JSONValue receiveMessage)

Generalized socket receive function which will read into the variable pointed to by receiveMessage by reading from the socket originator.

sendMessage
void sendMessage(Socket recipient, JSONValue jsonMessage)

Generalized socket send function which will send the JSON encoded message, jsonMessage, over to the client at the other end of the socket, recipient.

Meta