dcsimg
Interfacing with the network port
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shaz_Chohan
Posted On:   Wednesday, October 30, 2002 02:44 AM

Hi

I need to capture and read the header of all packets that are coming through the pc network port.Is there any way that I could be directed to solving this.

Thanks in advance

Re: Interfacing with the network port

Posted By:   Benoit_Quintin  
Posted On:   Wednesday, October 30, 2002 12:46 PM

Look at the Socket class, figure out which port you want to monitor, ponder if wirting the class really is necessary (as opposed to taking an off-the-shelf packet sniffer) and read the Java Tutorial on Networking Essentials
About | Sitemap | Contact