Variable Length Windows Real-Time Target UDP Receive Block

3 views (last 30 days)
I would like to receive variable length UDP packets in a Windows Real-Time Target environment. The packets would be bounded in size of course. Is this possible?

Answers (1)

Dimitri MANKOV
Dimitri MANKOV on 18 Nov 2022
Hi Arne,
That should be possible in my opinion. I would define the maximum expected size in your UDP receive block, and then discard any elements that do not contain any meaningful data.
Best,
Dimitri

Community Treasure Hunt

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

Start Hunting!

Translated by