|
Thank you, problem solved.
Next problem: now, my listenthread only gives signals when a real packet
=
is captured (no timeout) but, now he doesn't capture everything! My main program looks like this: //begin listening AfxBeginThread(ListenThread,this); Sleep(500); //send the packet AfxBeginThread(SendICMPPacket,this); Sleep(6000); //wait for listenthread to finish The only thing I do is send a ping packet. Sending always works fine, With Ethereal I can see that. But I don't capture the answer! Ethereal shows me the ping-reply but my program ignores it. I thought it had something to do with the threads, combined with the sleep functions. But I saw other programs who worked similar, so I don't know! When I send a ping from a command-prompt my program captures almost always all the packets. First I thougt my program only captured the packets that I send, but why would he capture all the packets send and received from a command prompt? I see now logic in that! The question is: do you?
|
- [WinPcap-users] problem receiving packets, packetReceivePa... Annie Deroo
- Re: [WinPcap-users] problem receiving packets, packet... Loris Degioanni
- RE: [WinPcap-users] problem receiving packets, packet... Steighton_Haley
- Re: [WinPcap-users] problem receiving packets, pa... Annie Deroo
- Annie Deroo
