Safe Haskell | Safe-Infered |
---|
- ipAddress :: (Word8, Word8, Word8, Word8) -> HostAddress
- data Server = Server {}
- serveOne :: Maybe UserAndGroup -> Server -> IO (ThreadId, MVar ())
- serveMany :: Maybe UserAndGroup -> [Server] -> IO [(ThreadId, MVar ())]
- type ServerRoutine = (Handle, HostName, PortNumber) -> IO ()
- data UserAndGroup
- class WaitFor a where
Documentation
ipAddress :: (Word8, Word8, Word8, Word8) -> HostAddressSource
make an IP Address: (127,0,0,1) is the localhost
the specification of a serving process
type ServerRoutine = (Handle, HostName, PortNumber) -> IO ()Source
the functionality of a server