dcsimg
How to read ICMP packets?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Monday, December 2, 2002 11:15 AM

Hi.


I don't know how to see if I receive a ping (ICMP packet).


It is not sent on a specific port, so I can't use a socket.


I want to get the source and destination of it.




Thank you.

Re: How to read ICMP packets?

Posted By:   Gautam_Marwaha  
Posted On:   Monday, December 2, 2002 10:14 PM

You may need to write native code for this or get a third party native lib that does this. Java does not support raw sockets (supports only TCP and UDP sockets) which are reqd. for such a functionality.
About | Sitemap | Contact