Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Common utilities for networking, mostly types.
- type IPInterface = String
- allInterfaces :: IPInterface
- localhost :: IPInterface
- type Port = Int
- data IPProto
- data Endpoint = Endpoint {
- ip :: IPInterface
- port :: Port
- hostport :: Endpoint -> String
Documentation
type IPInterface = String Source #
Name of interface or IP address, maybe 0.0.0.0 to bind to all available interfaces
Endpoint | |
|