[PD] tcp-server broadcast question
rolfm at dds.nl
rolfm at dds.nl
Tue Nov 10 17:19:44 CET 2020
follow-up:
just now i realized that there's no direct way to know which client
number (or IP-address) is given to a certain target.
which means that a shorter message meant for a specific client still has
to be sent to all.
so it will be only 'cheaper' when there's just one or a few clients
needing an update at the same moment.
rolfm at dds.nl schreef op 10-11-2020 13:23:
> tcp-server broadcast question
>
> hi,
>
> am i right that when tcp-server does 'broadcast' a message,
> actually it will generate as many messages as there are connected clients?
>
> i'm asking this because i have to send a few bytes to a number of tcp-clients frequently,where for each client the data are different.
> my idea was to broadcast an overall package, and the clients sift out there specific bytes.
>
> but if tcp-server does indeed multiply the broadcast message, it's probably more efficient /overall 'cheaper' to send a separate message for each client containing only their specific bytes.
>
> rolf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20201110/90c9bfee/attachment-0001.html>
More information about the Pd-list
mailing list