dns-1.4.4: DNS library in Haskell

Safe HaskellNone

Network.DNS.Decode

Synopsis

Documentation

receive :: Socket -> IO DNSFormatSource

Receiving DNS data from Socket and parse it.

receive' :: Socket -> IO (DNSMessage (RD ByteString))Source

Receiving DNS data from Socket and partially parse it. Unknown RDATA sections will be left as ByteString