Discussion Forums

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


Identify Frame lenght in FAST UDP packet
Himanshu K / ABC DDLLLL   7 Feb 2012 4:56AM ET
Re: Identify Frame lenght in FAST UDP packet
janaka Sooriyaarachchi / MillenniumIT   7 Feb 2012 10:58PM ET
Re: Identify Frame lenght in FAST UDP packet
Himanshu K / ABC DDLLLL   8 Feb 2012 7:55AM ET
Re: Identify Frame lenght in FAST UDP packet
janaka Sooriyaarachchi / MillenniumIT   8 Feb 2012 9:52PM ET
Re: Identify Frame lenght in FAST UDP packet
Himanshu K / ABC DDLLLL   9 Feb 2012 6:50AM ET