oscP5 multiple sketches question

Very helpful. I read through that as far as my comprehension carried me (not all that far!) and in poking around in the oscP5 stuff, I found its example code for multicasting, and the related https://en.wikipedia.org/wiki/Multicast page,

The example code uses

  oscP5 = new OscP5(this,"239.0.0.1",7777);

to create a multicast socket, which is ‘administratively scoped’. I don’t fully understand that or how to control it, or whether I need to.

I tried modifying my code with the above oscP5 object and no specified netAddress, and it worked exactly as I hoped with 3 instances.

Since my project would run on a small ad-hoc dedicated network, I’m not too worried about overcrowding the network. If I had to run the project on an existing network with other users, I bet the ‘administratively scoped’ part would come in handy.

Thanks for the tips!

2 Likes