Running a TCP server with a connected socket.
Modulenetwork-run-0.4.4Haskell2010
Network.Run.TCP.Timeout
Simple functions to run TCP clients and servers.
- 1 type
- 5 values
- Packagenetwork-run-0.4.4
- Exports6
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceTimeout.hs
A server type
Generalized API
4 declarationsRunning a TCP client with a connected socket for a given listen socket.
Open socket for server use, and set the provided options before binding.
This is equivalent to
openServerSocketWithOpts . map (second SockOptValue)
Open socket for server use, and set the provided options before binding.
In addition to the given options, the socket is configured to
allow reuse of local addresses (SO_REUSEADDR)
automatically be closed during a successful
execve(FD_CLOEXEC)bind to the address specified