http://www.perlmonks.org?node_id=356481


in reply to Sniffing binary data, heuristics?

I'm writing a packet sniffer

Why? There are decent sniffers already written. You're better off, IMO, using one of them and then using perl to grovel over their log files rather than spending valuable time writing the sniffer as well.