[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] One client, multiple servers via Multicast?



BroadcastServer is useful if you still want to differentiate between the Servers and need node ids etc. Otherwise you can simply send to the broadcast address of the network: http://en.wikipedia.org/wiki/Broadcast_address

an example would be:

Server("test", NetAddr("196.168.17.255", 57110))

(if you take your ip, and replace the last byte by 255 it may work. As Luke mentioned, if you use the NetLib quark, you may find it by NetAddr.broadcast)

Server("test", NetAddr(NetAddr.broadcastIP, 57110))

note that working with several people on a single server, you will have to use a different clientID for each participant.



Hi,

Have a look at BroadcastServer - it sends osc messages to multiple servers.

Best,
Jason

On 9 Mar 2009, at 21:56, Neil Baylis <<mailto:neil.baylis@xxxxxxxxx>neil.baylis@xxxxxxxxx> wrote:

Hello,

Is it possible to have a single SC client that multicasts to multiple servers?

I'm not looking for a method of iterating over a collection of servers. Rather, I want the messages to be sent only once by the client, but multiple servers to receive them at the "same" instant. The multiple servers are running in different computers, some Linux, some OSX. The single client is running OSX.

I'm not even sure where to begin looking for this info. I do know that one can set up UDP multicast groups, and OSC uses UDP, but I have no clue what would be needed to make this happen in SC. I imagine it would involve telling scsynth to do the right thing somehow.



Thanks for any info,

Neil

--
<>http://www.pixpopuli.com


--





.

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/