How to get captred only ICMP packet using jpcap library? - TechRepublic
Question
August 23, 2010 at 05:05 PM
karimkhan_it

How to get captred only ICMP packet using jpcap library?

by karimkhan_it . Updated 15 years, 10 months ago

i tried using jpcap library capturing a packet from LAN , i am getting many packets like this :

” Received packet :1282603371:451380 /10.10.2.60->/10.255.255.255 protocol(17) priority(0) hop(128) offset(0) ident(13480) UDP 137 > 137 ”

actually what i want is by pinging my machine from any other machine in the LAN , whatever ICMP packets get transmitted , i want to capture those packets only .

And please explain fields in above output .

i am using windows OS and java technology.

This discussion is locked

All Comments