I am looking for a good strategy people use in C++/C to parse complex binary network protocols (such as DNS). Any tips and articles would be great.
1 Answer
Google Protocol Buffers appears to support the types that Python struct() can handle. It supports Python too.
Welcome to the developer documentation for protocol buffers – a language-neutral, platform-neutral, extensible way of serializing structured data for use in communications protocols, data storage, and more.