4 ms·
I did that when doing writing a DNS resolution library (https://github.com/spc476/SPCDNS https://github.com/spc476/SPCDNS). The encoding and decoding is one li
by spc476 14y ago
I did that when doing writing a DNS resolution library (https://github.com/spc476/SPCDNS https://github.com/spc476/SPCDNS). The encoding and decoding is one library, leaving the network layer primarily up to you (I provide a very simple network interface that's probably okay for very simple uses). It's an approach I now use for any protocols I work on.