data Config
= Config {
cnfServerAddress :: !SockAddr
+ , cnfAllowTransfer :: !Bool
}
deriving Show
defaultConfig :: Config
defaultConfig = Config {
- cnfServerAddress = SockAddrInet 42 iNADDR_ANY
+ cnfServerAddress = SockAddrInet 53 iNADDR_ANY
+ , cnfAllowTransfer = False
}