Ok this is so new to me but does anyone have example code that decodes header fields in an IP datagram? or a link to something like the beej's guide....So i need to decode the header from the following example.
0000000 141724 120662 000002 000004 000000 000000 000000 000000
0000020 177777 000000 000001 000000 142167 045720 175323 000001
0000040 000146 000000 000146 000000 010000 177733 120040 006000
0000060 134051 122150 000010 010105 054000 153336 000100 003100
0000100 111425 022620 046250 125514 004701 013000 042602 044146
0000120 164312 036636 030340 014120 010070 161701 000000 025433
0000140 050532 067325 046066 000014 121441 144064 051477 073361
0000160 045065 020626 162237 062362 020070 067610 030756 074707
0000200 026372 140127 177576 051622 063626 106116 172414
0000216
I think this is way too complicated for an intro to networking class....
I was thinking of using a union but I don't know!!! help!!!