Wireshark-dev: [Wireshark-dev] TRY / CATCH in dissector verus .c

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