PDA

Click to See Complete Forum and Search --> : Can I see what is sent to the NIC


joellord
Feb 26th, 2001, 02:37 PM
Hi everyone,
I was wondering if there was a way to see what data is sent to the network card ? (The network card being used for ADSL modem Internet connection)
I can't tell you much about the program I have to do but I would have to find out what data is sent to the Internet by the nic and then use a loop to send it back. Is that possible ?
I am not so bad at VB so I was thinking at how to do it with VB but if it's not possible, how could I do it in another language ?

Thanks,
Joel Lord

JoshT
Feb 27th, 2001, 06:55 AM
It's definately possible as I've used packet sniffers that do exactly what you want to do. They probably involve lower level code than VB is capable of though.

Try this page to start:
http://207.71.92.193/oo/packetsniff.htm

Josh

joellord
Feb 27th, 2001, 11:28 AM
Hi,
thanks, this worked just fine ! But the problem now is how could I communicate with the network card to send this packet without the application that originally sent it ?

Joel