Results 1 to 1 of 1
Thread: jcap help
- 03-27-2012, 06:50 PM #1
Member
- Join Date
- Feb 2012
- Posts
- 2
- Rep Power
- 0
jcap help
trying to extract arp data using this code:
byte[] data = ((ARPPacket)((EthernetPacket)(packet.data)));
trying to extract ip data using this code:
byte[] header = ((IPPacket)((EthernetPacket)(packet.data))).header ;
im getting errors and dont know where to go from here. can somebody
please point me in the right direction.
please and thank you,
ryan


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks