dnslib
dnslib copied to clipboard
Simple C++ library designed for encoding and decoding of DNS protocol packets
RFC 1035 4.1.4 says: > The compression scheme allows a domain name in a message to be represented as either: > - a sequence of labels ending in a zero...
I would like to point out that an identifier like “[`_DNS_MESSAGE_H`](https://github.com/mnezerka/dnslib/blob/502368b319a2fe3829f48d845768899db39b43a4/src/message.h#L38-L39 "Update candidate")” [does eventually not fit](https://wiki.sei.cmu.edu/confluence/display/cplusplus/DCL51-CPP.+Do+not+declare+or+define+a+reserved+identifier#DCL51CPP.Donotdeclareordefineareservedidentifier-NoncompliantCodeExample%28HeaderGuard%29 "Do not declare an identifier which is reserved for the compiler implementation.") to...