receive multicast data with udp port and configure multicast matlab
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Rashi Mehrotra
el 14 de Oct. de 2021
Respondida: Ashutosh Singh Baghel
el 21 de Oct. de 2021
hi
I am trying to receive multicast data from udp connection
it goes like this
u=udpport("bytes","LocalHost","127.0.0.1","LocalPort",15005);
configureMulticast(u.'226.1.1.1')
data=read(u,u.NumBytesAvailable);
this is not reciving anything in data
Pleae help
0 comentarios
Respuestas (1)
Ashutosh Singh Baghel
el 21 de Oct. de 2021
Hi Rashi,
I believe you wish to configure Multicast settings to a UDP socket 'u'. Please refer to the followinf example from the MATLAB Documentation page on 'udpport.configureMuilticast'.
u = udpport("byte","LocalHost","127.0.0.1","LocalPort",15005);
configureMulticast(u,"226.1.1.1");
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!