Take the 2-minute tour ×

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.

share|improve this question
Boost has a serialization class that I've heard is usable but I just wrote my own implementation with some templating/memcpy –  Xeross Dec 20 '10 at 14:06
add comment

1 Answer

Google Protocol Buffers appears to support the types that Python struct() can handle. It supports Python too.


share|improve this answer
add comment

Your Answer


