필터 지우기
필터 지우기

Unpack UDP packet s in eclipse

조회 수: 2 (최근 30일)
aida
aida 2012년 5월 22일
I'm sending UDP packets from xpc target as double , I want to unpack it myself in eclipse , I know that it sends 512 bytes each time and that double is 16 bytes , but how about the header ? how many numbers could it sends each time this way ?

답변 (1개)

Walter Roberson
Walter Roberson 2012년 5월 22일
You should allow 28 bytes of headers (including the IP header and the UDP header)
This corresponds to 30 full 16-byte values.
Note: IEEE 754 double precision are 8 bytes each, and there is no standardized 16 byte floating type. A Fixed Point Toolbox number could be 16 bytes though.

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by