dns-1.4.5: DNS library in Haskell

Safe HaskellNone
LanguageHaskell2010

Network.DNS.Decode

Synopsis

Documentation

receive :: Socket -> IO DNSFormat Source

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