Ideally it'd be great if each client knew how to deconstruct a message and could simply pass it to other clients that actually know how to send it. Instead of having a pointer to each live client, they have a handler function they pass the message to which redirects to the various places that things could be sent to.
Ideally it'd be great if each client knew how to deconstruct a message and could simply pass it to other clients that actually know how to send it. Instead of having a pointer to each live client, they have a handler function they pass the message to which redirects to the various places that things could be sent to.