Loris, thanks for the response. Yes, you are correct, the problem was in my application. NPF does support multiple adapter packet Tx simultaneously.
Speaking of sending packets, when I set the number of writes to some number and issue a send packet call subsequently, is there some asynchronous procedure call/event which will notify the application when all the packets( which were set in SetNumWrites) have been sent? Thanks! -Areg -----Original Message----- From: Loris Degioanni [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 5:35 AM To: [EMAIL PROTECTED] Subject: Re: [WinPcap-users] Problem with NPF driver supporting multiple adapters simultaneously.. 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] ================================================================== ================================================================= This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe use mailto: [EMAIL PROTECTED] =================================================================
