Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] request help for packet capture using libpcap

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 06 May 2008 09:07:44 -0700

atdev.queries@xxxxxxxxx wrote:

So I was wondering whether the programm is actually capturing any network packet.

If your program prints "Welcome ...", it's capturing packets. It will print "Welcome ..." for each packet it captures.

However, it's not saving those packets to the capture file that you've created with pcap_dump_open(). Your callback needs to write the packets out by calling pcap_dump().

  • References:
    • [Wireshark-dev] request help for packet capture using libpcap
      • From: atdev.queries
  • Prev by Date: Re: [Wireshark-dev] request help for packet capture using libpcap
  • Next by Date: Re: [Wireshark-dev] own dissector doesn't work with root
  • Previous by thread: Re: [Wireshark-dev] request help for packet capture using libpcap
  • Next by thread: [Wireshark-dev] Fast Infoset
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation