@Joe, sorry me too, I was bit confused there. Btw, you have chosen a huge challenge with decoding the raw data. I just went through some old docs, The Byte Offsets/Bit Offsets in the Ip Hreader are crazy. And you have to do the same for UDP. I see where @Jonas come up with the word thread. Seems socket programming is processor intensive. This is quite interesting, hope you don't mind if I follow as a spectator. :-)
@aki, sorry i had got it all wrong, the saving to file was and is what i dont intend to todo
_______________________________________________________________
its ok child, He's heard you