UDP Multicast Packet Receiver

I'm trying to use MATLAB to receive and parse UDP packets from a sensor. I can see that the sensor is broadcasting the data on multicast address 239.254.2.1, port 50220, when I sniff traffic in Wireshark. However, I'm not having any luck actually streaming the packet bytes into MATLAB. Is multicast supported? Are there any examples you reccommend? I've looked through the existing documentation and can't find anything multicast specific.

Answers (1)

1 Comment

Hello Vijaya,
I am having the same problem as the original poster. Can you describe anything beyond what's in the documentation that may fix the problem, specifically, I can see the packet in Wireshark but can't see it in Matlab. I have seen the packet in Python with the same machine/sensor combination

Sign in to comment.

Asked:

on 11 Mar 2019

Commented:

on 20 May 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!