Help! win32,libnet_init failed !

curtis skelvsa <[email protected]> 23 Mar 2005 11:26:38 -0000
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>

Hi,when I tried to migerate my code from linux to windows. I encountered =
big tourble. then I turned to libnet sample code in win32

I installed new WinPcap_3_1_beta4.exe. windows.net 2003 enviroment . the =
libnet win32 sample code is compiled all right.

but the sample code can not run rightly. when I tried to run libnet\sampl=
e\win32\udp1\Release\udp1.exe, I encountered the same problem.

libnet_init(LIBNET_RAW4,NULL,errbuf) failed
it report error: libnet_open_link(): unable to open the driver,error code=
 : 14

I use dots and decimals representation of my IP address for device parame=
ter. the same error reported.

I'm confused what's the problem, please help me.=20

regard
                                 curtis