Discussion:
win32 libnet_init failed (unable to open the driver)
curtis Robbins
2005-03-23 09:03:44 UTC
Permalink
Hi,when I tried to migerate my code from linux to windows with libnet 1.2.1,
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\sample\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
parameter. the same error reported.

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

regard
curtis

Loading...