Re: about capturing the packets at ethernet port...
Guy Harris <[email protected]>
| Newsgroups | gmane.network.ethereal.user |
|---|---|
| Message-ID | <[email protected]> |
upasana saxena wrote: > can anyone help me out by letting me out that how ethereal actually > captures tha packets on ethernet ports.... It uses a library called libpcap on various UN*Xes, which uses the various native mechanisms on those UN*Xes, and a library called WinPcap on Windows, which is a driver to provide a mechanism for WinPcap to use plus a port of libpcap to use that mechanism. > how it can be done through JAVA.. Try jpcap: http://sourceforge.net/projects/jpcap which is a set of Java classes to use libpcap (and perhaps WinPcap; they speak of it supporting Windows). > Is there any option for doing it using > Visual basic Here's the item about that in the WinPcap FAQ: http://www.winpcap.org/misc/faq.htm#Q-9