Hi All,
Can anyone please provide me a sample code to dissect an incoming message into a structure that also contains an array? For e.g. if the target structure is:
struct sample_struct {
int param1;
int param2[10];
};
Then please suggest me the appropriate way to dissect an incoming packet into this structure and displaying its decoded tree properly. Would appreciate if you
can also suggest me the way to take care of possible padding bytes that may be inserted by the sending entity.
Thanks a ton in advance.
T & R
Sachin Verma
Software Engineer