Hey all, hope everyone is well. Happy new year...etc...
Down to the serious stuff. I am writing a program to read a binary file into a structure and interperet it. The file is a captured ICMP packet. This program basically has to act like ethereal (for those who are familliar with it) and it being written in 64bit linux. Im not going to ask for code, just a few pointers. I can read the file into an array, but transferring the information into the structure has me stumped.
Ive been looking through the other posts and come across copying structures out of a file but im not sure this applies to my problem as there is no structure to copy.
Hopefully this is clearer than mud!
thanks in advance