Safe Haskell | None |
---|---|
Language | Haskell2010 |
- decode :: ByteString -> Either String DNSMessage
- decodeMany :: ByteString -> Either String ([DNSMessage], ByteString)
- receive :: Socket -> IO DNSMessage
- receiveVC :: Socket -> IO DNSMessage
Documentation
decode :: ByteString -> Either String DNSMessage Source #
Parsing DNS data.
decodeMany :: ByteString -> Either String ([DNSMessage], ByteString) Source #
Parse many length-encoded DNS records, for example, from TCP traffic.