Getting My Packet Sniffer to show packets in Little Endian format
Im new to these forums and nearly just as new to java actually,
My 1st program I thought i'd make is a packet receive and send program.
Eventually I would like to to sniff for a particular packet and once received trigger 3 specific packets to be sent to the server.
As of yet I have programmed it far enough to receive and display packets coming from the target server but the packets are received in a format I cant really understand:
1279189192:387369 /*.*.*.*->/*.*.*.* protocol(6) priority(2) hop(112) offset(0) ident(17906) TCP 8585 > 4281 seq(425930532) win(63243) ack 2652559127 P
But I want them to be handled and displayed in Little Endian form as this is what the server is using, so my question is how do I accomplish this task?
Any hints, tips or tutorials will me greatly appreciated!