A segfault should be related to your application, not to the driver
(problems in the driver usually cause blue screens). Moreover, I see no
reason why you shouldn't be able to send packets on more than one adapter at
the same time, at least under WinNTx. Do you check that the adapter
descriptors are valid before sending the packets?

Loris

----- Original Message ----- 
From: "Areg Alimian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 03, 2003 9:43 PM
Subject: [WinPcap-users] Problem with NPF driver supporting multiple
adapters simultaneously..


Hello,



I'm using your NPF protocol driver on a Windows 2000 Professional IMB
laptop, with an Intel Pentium CPU of about 1.6Ghz and 512Mb of RAM.

My primary use of the driver is to send basic Ethernet II packets to 2
separate NICs on the PC above.  One of the NICs is a 10/100 Intel PRO
and the other one is Orinoco 802.11b wireless card.


My application calls open adapter on both interfaces above, which
returns successfully.  Subsequently I initialize the buffer descriptor
of the NPF driver with the frame I intend to send( multiple times) in
the following sequence:

PacketAllocatePacket();

PacketInitPacket(..);

PacketSetNumWrites(..);

The problem is, when I make a call to send the packets via
PacketSendPacket() to one of the open adapters, I get a segfault in my
application.

Is this because the NPF driver does not support multiple NICs
simultaneously or could it be a buffer related error?

Any feedback on this is much appreciated.

Best Regards,

-Areg Alimian





======================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use
 mailto: [EMAIL PROTECTED]
======================



==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to