Hi,
> Dear WinPcap's contributors, > > I'm developing an application to send/receive packets by using > WinPcap 3.0 through wireless LAN. During my test of the program, > I found the following two strange behaviours probably caused by > WinPcap 3.0. I shall appreciate any suggestions or clues from you. > > 1) My program caused BSOD when the application sends and > receives packets at the same time. I have solved this problem by > changing the "npf.sys" driver to the one that Loris sent to us in > the email titled "npf.sys BSOD". > > According to the explanation in email, there is a bug in WinPcap > 3.0 driver in which the driver might return from a write before all the > > packets are sent. That can cause the blue screen. > > After I apply the new driver, the BSOD disappeared. But the > program > shows a strange behaviour, that is when the application continuously > sends > packets by using "for loop" to send them one by one, sometimes there is > a 3 - 4 sec. delay between two packets. This behavious've never occured > if I use the old driver that come with WinPcap 3.0. The send function > that > I'm using is "pcap_sendqueue_transmit" with the sync parameter on. Are > there any changes in "pcap_sendqueue_transmit" on the kernel level in > the BSOD-fixed driver ? Yes, but I never noticed a behavior like the one you describe. Can you provide more details? The problem happens only with wireless adapters or also with Ethernet cards? Do you have a capture and possibly a related source code snippet that shows the problem? > 2) My application cannot send packets properly directly after the > application make an association to the AP, but it comes to work properly > > when the time pass. For example, when I sent ten packets directly after > the association, the destination machine got only 3 packets and the rest > > of them were junk packets. > > This behaviour occurs only in WinPcap 3.0. I try to recompile my > program by using WinPcap 3.01 alpha and run it again on WinPcap 3.01 > alpha's drivers. Surprisingly, it worked properly, all correct packets > were > sent, no junk ! The send function that I'm using here is > "pcap_sendqueue_ > transmit". Are there any difference in "pcap_sendqueue_transmit" > between > WinPcap 3.0 and WinPcap 3.01 alpha ? > If I remember well, there shoul be no difference. Loris ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[EMAIL PROTECTED]/ To unsubscribe use mailto: [EMAIL PROTECTED] ==================================================================
