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

Safe HaskellNone
LanguageHaskell2010

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

listenOnIPv4 Source #

Arguments

:: String

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

-> Int

port number to listen on

-> IO Socket