happstack-server-7.3.1: Web related tools and services.

Safe HaskellNone

Happstack.Server.Internal.Listen

Synopsis

Documentation

listen :: Conf -> (Request -> IO Response) -> IO ()Source

Bind and listen port

listen' :: Socket -> Conf -> (Request -> IO Response) -> IO ()Source

Use a previously bind port and listen

listenOn :: Int -> IO SocketSource

listenOnIPv4Source

Arguments

:: String

IP address to listen on (must be an IP address not a host name)

-> Int

port number to listen on

-> IO Socket