Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (Hashable addr, Show addr, Typeable addr, Eq addr, Generic addr) => NetworkAddr addr where Source #
toAddr :: addr -> Addr Source #
Forget what kind of address this is.
fromAddr :: Addr -> Maybe addr Source #
Try to remember what this opaque address was.
isWildcardAddr :: addr -> Bool Source #
Check to see if this address is the wildcard address.
wildcardAddr :: addr -> addr Source #
The wildcard address
isBroadcastAddr :: addr -> Bool Source #
Check to see if this address is the broadcast address.
broadcastAddr :: addr -> addr Source #
The broadcast address.