I need some help really badly on this.I'm doing a final year project in java on a network monitoring system.I got a java applet echoing port 7 but this doesn't work on NT. so i probably have to use ICMP.How do i do this? I don't even know where to start
To use ICMP you must have access to low-level network data (e.g. raw sockets in C). In java, Sockets are assumed be either TCP or UDP sockets and you don't have access to a packet level data. You could use implement ping with C and add it to your java application using JNI. Or you could use pure java and perform ping in command line using Runtime.exec()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.