As a simple approach, your clients could send messages containing either the actual data (the payload) and additional information, useful to deliver correctly the message itself (see, for instance the
"payload" Wikipedia page[
^]). Based on such additional information the server could dispatch the messages to the destination clients.