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: [Wireshark-dev] TRY / CATCH in dissector verus .c

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


From: David Aggeler <david_aggeler@xxxxxxxxxx>
Date: Thu, 09 Oct 2008 21:36:22 +0200


What's the take on using exception handling in a dissector?

I'd like to do a transfer syntax detection in packet-dcm, and the most appealing way would be to try the three options in a try {} clause.

Apart from the TCP dissector, I've seen exception handling in other places. So it it o.k to use it and if so, are there particular things to pay attention to?

- David

  • Prev by Date: Re: [Wireshark-dev] [Wireshark-commits] rev 26376: /trunk/ /trunk/: manuf
  • Next by Date: Re: [Wireshark-dev] [Wireshark-commits] rev 26376: /trunk/ /trunk/: manuf
  • Previous by thread: [Wireshark-dev] Old news
  • Next by thread: [Wireshark-dev] Wireshark 1.1.1 development release available
  • Index(es):
    • Date
    • Thread

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