Safe Haskell | None |
---|---|
Language | Haskell2010 |
- decode :: ByteString -> Either String DNSFormat
- receive :: Socket -> IO DNSFormat
- receive' :: Socket -> IO (DNSMessage (RD ByteString))
Documentation
receive' :: Socket -> IO (DNSMessage (RD ByteString)) Source
Receiving DNS data from Socket
and partially parse it.
Unknown RDATA sections will be left as ByteString