Re: [LAD] Question: broadcasting OSC messages

From: Stephen Sinclair <radarsat1@email-addr-hidden>
Date: Mon Mar 30 2009 - 00:38:17 EEST

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@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@lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
>
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Mon Mar 30 04:15:03 2009

This archive was generated by hypermail 2.1.8 : Mon Mar 30 2009 - 04:15:04 EEST