OK! Thanks But unfortunately I can not understand how to use pcap_dispatch effectively. I want to capture indefinately but can be stopped with exceptions.
Can you please write me couple of lines for indefinate loop with pcap_dispatch and exit with any key press. Thanks anyway. Fakhar Imran ----- Original Message ----- From: "Loris Degioanni" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 07, 2002 1:54 PM Subject: [WinPcap-users] How to start pcap_loop > Set the number of packets you need to capture (cnt parameter) or use > pcap_dispatch(). > > Loris > > ----- Original Message ----- > From: "Fakhar Imran" <[EMAIL PROTECTED]> > To: "wpcap" <[EMAIL PROTECTED]> > Sent: Thursday, October 03, 2002 7:04 AM > Subject: [WinPcap-users] How to start pcap_loop > > > > Hi all, > > > > Can anyone tell me how can I stop pcap_loop at my desired condition. > > > > > > > > Fakhar Imran > > > > > > ================================================================== > > This is the WinPcap users list. It is archived at > > http://www.mail-archive.com/[email protected]/ > > > > To unsubscribe use > > mailto: [EMAIL PROTECTED]?body=unsubscribe > > ================================================================== > > > > > > > > > > ================================================================== > This is the WinPcap users list. It is archived at > http://www.mail-archive.com/[email protected]/ > > To unsubscribe use > mailto: [EMAIL PROTECTED]?body=unsubscribe > ================================================================== > ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[email protected]/ To unsubscribe use mailto: [EMAIL PROTECTED]?body=unsubscribe ==================================================================
