|
FAST Protocol
< Previous Next >
Re: Identify Frame lenght in FAST UDP packet
janaka Sooriyaarachchi / MillenniumIT 7 Feb 2012 10:58PM ET frame size also a integer value, So you can use integer encoding/ decoding method to resolve the value and you can identify the field termination by stop bit.
> Hi
>
> I am receiving UDP packet in following manner
>
> |frame size(1)|msg(1)|frame size2|msg(2)|...|frame size(i)|msg(i)|
> =================================================================
> UDP PACKET N
>
> How to identify frame length so that I can find size of msg(1)...consequently of msg(2)......msg(3)....
>
> Frame size usually the first byte but it can be up to 4 bytes of uncompressed data received.How to identify when it's more than 1 byte?
>
> Thanks
>
> Himanshu
Re: Identify Frame lenght in FAST UDP packet janaka Sooriyaarachchi / MillenniumIT 7 Feb 2012 10:58PM ET |