Have you tried winpcap 3.0 alpha?
GV
----- Original Message -----
From: "Ben Brownlee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 4:41 PM
Subject: [WinPcap-users] fun with pcap_sendpacket()
> has anyone had a problem with pcap_sendpacket() causing Win2K to
> crash???
>
> I'm trying to write a little program that will allow me to send out ARP
> WHO-HAS requests, and this function seemed to be the easiest method.
> Whenever the function is called, however, I get a black screen and then
> see the BIOS output and POST.... here's how I'm initializing
> everything, just in case:
>
> u_char *buf = "an arp packet... ";
> pcap_t *sniffThis;
> dev = (char *)pcap_lookupdev( err );
> if( (sniffThis = pcap_open_live( dev, snaplen, 1, to_ms, err )) ==
> NULL ){
> cout << "pcap_open_live died with: " << err << "\n";
> }
> cout << "pcap_open_live successful!\n";
> pcap_sendpacket(sniffThis, buf, sizeof(buf));
>
>
>
>
>