dns-0.3.0: DNS libary in Haskell

Network.DNS.Decode

Synopsis

Documentation

receive :: Socket -> Integer -> IO DNSFormatSource

Receiving DNS data from Socket and parse it. The second argument is a buffer size for the socket.