mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-02 02:37:38 +00:00
They're really the same thing: a DNS packet can contain both questions and answers, and there's a single bit in the header that determines whether the packet represents a query or a response. It'll be simpler for us to represent both types of packets using the same class. This class can be both serialized and deserialized to/from a raw DNS packet.
8.1 KiB
8.1 KiB