c++ - Multicasting big packet contain all info to multiple clients vs individual packets to targeted clients -


i'm writing c++ application mymasterapp sends information (osc via udp) multiple clients (about 5-10), mobile devices (android or iphone) via wifi.

each device receive unique information, of same type. 100-200 bytes per device, , i'll updating devices @ 30hz.

i send unique data packet each device, or create 1 big structure contains each of unique bits of data each device, target id, multicast devices, each device picks out data needs.

i.e.

  • send data1 device1
  • send data2 device2
  • send data3 device3
  • send data4 device4

vs

  • create new data contains data1, data2, data3 etc. multicast data devices, , each device picks relevant data use.

before attempt both approaches, there theoretical, or recorded practical advantages of 1 on other (e.g. better performance, less collision, lost packets etc)? or differences negligible?

i have related network performance question same project @ should listen on different ports, or same port?

one of major advantages of multicast scalability in future if tend have more devices multicast help. better @ multicast vs unicast performance guidance

m. ebrahimi, m. daneshtalab, p. liljeberg, , h. tenhunen. performance evaluation of unicast , multicast communication in three-dimensional mesh architectures. in computer architecture , digital systems (cads), 2010 15th csi international symposium on, pages 161-162, sept. 2010.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -