Variable Length Windows Real-Time Target UDP Receive Block

1 次查看(过去 30 天)
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?

回答(1 个)

Dimitri MANKOV
Dimitri MANKOV 2022-11-18
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