network-server-0.2.0: A light abstraction over sockets & co. for servers

Network.Server

Synopsis

Documentation

ipAddress :: (Word8, Word8, Word8, Word8) -> HostAddressSource

make an IP Address: (127,0,0,1) is the localhost

data Server Source

the specification of a serving process

type ServerRoutine = (Handle, HostName, PortNumber) -> IO ()Source

the functionality of a server

class WaitFor a whereSource

Methods

waitFor :: a -> IO ()Source

Instances