1

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
  • 1
    Boost has a serialization class that I've heard is usable but I just wrote my own implementation with some templating/memcpy Commented Dec 20, 2010 at 14:06

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.