Hi again. I tried using pcap_live_dump instead, and although my application has not crashed this time, it appears that no packets have been written to a file! Why is that the case?
BVI -----Original Message----- From: Venkatramani, Bharath Sent: Tuesday, September 21, 2004 10:06 AM To: '[EMAIL PROTECTED]' Subject: [WinPcap-users] Problems saving packets to a dumpfile Hello all. I'm having some problems saving packets to a file. When I debug my application with .NET 2003, I get a "green arrow" pointing at this line in my code: -----> dumpfile = pcap_dump_open(PcapSession[SessionNum], "Capture.cap"); SessionNum is fixed at 0, and all the pcap structures have been initialized properly. Also, when I run the application, there is no "Capture.cap" in the directory. What could be the problem here? Thanks. BVI ================================================================== 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] ==================================================================
