[PD] tcp-server broadcast question

Christof Ressi info at christofressi.com
Tue Nov 10 14:05:21 CET 2020


> am i right that when tcp-server does 'broadcast' a message,
> actually it will generate as many messages as there are connected clients?
Yes, "real" broadcast/multicast only works for UDP.

Christof

On 10.11.2020 13:23, rolfm at dds.nl wrote:
>
> 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
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20201110/af6b573a/attachment.html>


More information about the Pd-list mailing list