# OSC multicast: find the destination IP addresses on the sender

**URL:** <https://discourse.libcinder.org/t/osc-multicast-find-the-destination-ip-addresses-on-the-sender/170>\
**Category:** Using Cinder\
**Created:** [July 22, 2016, 7:01pm UTC](https://discourse.libcinder.org/t/osc-multicast-find-the-destination-ip-addresses-on-the-sender/170 "2016-07-22T19:01:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eight\_io](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/eight_io/32/57_2.png) [@eight\_io](https://discourse.libcinder.org/u/eight_io)\
**Post date:** [July 22, 2016, 7:01pm UTC](https://discourse.libcinder.org/t/osc-multicast-find-the-destination-ip-addresses-on-the-sender/170/1 "2016-07-22T19:01:08Z")

</div>

Is there something in the new OSC block that would allow me to get the ip addresses of the receivers during multicast (setting the destination to 255.255.255.255)?

I need to send different values distributed randomly between all the receivers and would like to avoid having the receivers send their IP’s back to the server, if possible.

Thanks

---

<div class="post-metadata">

**Author:** ![ryanbartley](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/ryanbartley/32/5_2.png) [@ryanbartley](https://discourse.libcinder.org/u/ryanbartley)\
**Post date:** [August 8, 2016, 8:31pm UTC](https://discourse.libcinder.org/t/osc-multicast-find-the-destination-ip-addresses-on-the-sender/170/2 "2016-08-08T20:31:05Z")

</div>

I’m not positive but I don’t think there’d be any way to derive a receiver’s address without having the receiver send it’s address to the sender or send a message to the sender. The only other way I could imagine is if you knew them before hand and fed them to the sender at runtime in some form of config.

Edit: Also, FYI, the OSC block supports multicasting to the extent that `asio` supports multicast. In other words, it doesn’t impede it. Take a look at the BroadcastSender sample as broadcast and multicast have similar setups.

---

<div class="post-metadata">

**Author:** ![eight\_io](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/eight_io/32/57_2.png) [@eight\_io](https://discourse.libcinder.org/u/eight_io)\
**Post date:** [August 9, 2016, 1:05am UTC](https://discourse.libcinder.org/t/osc-multicast-find-the-destination-ip-addresses-on-the-sender/170/3 "2016-08-09T01:05:02Z")

</div>

Thanks. I was expecting some low-level magic to be available. I guess I will have to set up some sort of handshaking on startup, whereby the receivers would inform the sender of their IPs.

–8
