[Winpcap-users] Question Regarding WINPCAP & Libnet

ahsan askari ahsanaskari at gmail.com
Mon Jul 31 16:08:40 GMT 2006


Hi,

I am trying to use libnet library for packet generation on windows XP. It
uses winpcap in the background. I have managed to run one of the sample
which generates TCP packet and which initializes libnet at link layer but
when I try to run the udp sample which initializes libnet as RAW IP it is
not initializing it. When I debugged the code, I found that that method is
giving a call to a method of winpcap called "PacketOpenAdapter()" and this
method is not initilizing the device. Can anyone please help me in this
regard as I need it urgently. I think it must be a problem with the setup of
project or I have to change something in the project properties. May be this
is not the correct forum to ask this question but I already asked that on
Libnet forum and didn't get any reply as most of the queries are related to
Linux/Unix envoirnment there. Please help me.

Ahsan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060731/a8e67b44/attachment.htm


More information about the Winpcap-users mailing list