just look for some special parameter in incoming packets, in case of tcp you can catch packet with *your special* tcp port or ack\seq numbers and so on... this is your task, not task of winpcap.
2010/7/16 Mygapula, Sudheer IN BLR SISL <[email protected]> > Hello, > > > > I have one basic doubt regarding packet sending and receiving. > > > > How I can do the concept of sending packet to some device and waiting > response from the device until time out. > > > > I mean to say while raw socket communication if you send packet using > sendTo function after that > > Will be waiting until response comes from the device using receive from > socket. > > > > Is it possible to do it using Winpcap lib also. > > > > After sending pcap_send if I call pcap_next_ex() then there might be chance > I will be sniffing so many unnecessary responses. > > > > > > Is there any way to do it. > > ------------------------------ > Important notice: This e-mail and any attachment there to contains > corporate proprietary information. If you have received it by mistake, > please notify us immediately by reply e-mail and delete this e-mail and its > attachments from your system. > Thank You. > > _______________________________________________ > Winpcap-users mailing list > [email protected] > https://www.winpcap.org/mailman/listinfo/winpcap-users > >
_______________________________________________ Winpcap-users mailing list [email protected] https://www.winpcap.org/mailman/listinfo/winpcap-users
