Libnet is NULL

<[email protected]> 21 Jul 2004 14:37:09 -0000
Newsgroups gmane.comp.security.libnet,gmane.spam.detected
Message-ID <[email protected]>

Hi,

I am trying to code libnet into Visual Studio C++ .NET. My code:

l = libnet_init(
            LIBNET_RAW4,                            /* injection type */
	    NULL,                                   /* network interface */
            errbuf);  

creates a null libnet structure. I tried putting in my network interface number, but it crashes on me. How do I fix this?

Roshan