Hi
I am creating a structure which is set of different data types say...Byte, word, dword...
And am receing data over ethernet in this structure. when I receive d data, its not getting transfer due to the memory alignment.
Can any one help me in defining the structure as #pragma pack(1) to avoid the memory alignment issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am creating a structure which is set of different data types say...Byte, word, dword...
And am receing data over ethernet in this structure. when I receive d data, its not getting transfer due to the memory alignment.
Can any one help me in defining the structure as #pragma pack(1) to avoid the memory alignment issue.