[LAD] Question: broadcasting OSC messages

Stephen Sinclair radarsat1 at gmail.com
Sun Mar 29 21:38:17 UTC 2009


Hi,

Please check out LibLo's multicast support, this is probably what you want.
There is also very limited support for broadcast messages (to
255.255.255.255), but I think (imho) that multicast is a preferred
solution.

In short, with multicast, each server joins a "group" in a specific IP
range (starting with 224), and clients can send messages to this group
for anyone listening.

http://en.wikipedia.org/wiki/IP_Multicast


Steve


On Sun, Mar 29, 2009 at 4:29 PM, Pau Arumí <pau.arumi at barcelonamedia.org> wrote:
> Hi all!
>
> I have a simple question about OSC, or more specifically, the liblo
> implementation: Is it possible to broadcast OSC messages to multiple
> receiving ends *in different processes*? That is, without needing to
> create N 1-1 communication channels, using N ports?
>
> The obvious thing would be to create two servers listening to the same
> port (using lo_server_thread_new ). But liblo doesn't allow creating two
> servers listening the same port.
>
> Ideas to work-around this?
>
> P
>
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev at lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
>



More information about the Linux-audio-dev mailing list