[erlang-questions] Is there any existing library code to parse a DNS response in binary form?

Sean Cribbs seancribbs@REDACTED
Mon Nov 16 04:39:55 CET 2009


You might find Geoff Cant's enet project useful:

http://github.com/archaelus/enet/

It appears he has a decoder for DNS, ARP and a bunch of other protocols.

Sean

Jarrod Roberson wrote:
> I am writing a native erlang Bonjour / ZeroConf implementation and need to
> parse the resulting binary DNS response I get.
> Before I start down the road of bit syntax and all that I figured something
> this fundamental had to already exist.
> When I did a Python version of this there was already library code I could
> use to parse the results.
> I have searched Google and come up with nothing useful. Thanks in advance.
>
>   



More information about the erlang-questions mailing list