|
Network.BSD | Portability | non-portable | Stability | experimental | Maintainer | libraries@haskell.org |
|
|
|
|
|
Description |
The Network.BSD module defines Haskell bindings to network
programming functionality provided by BSD Unix derivatives.
|
|
Synopsis |
|
|
|
|
Host names
|
|
|
|
|
Calling getHostName returns the standard host name for the current
processor, as set at boot time.
|
|
|
Constructors | | Instances | |
|
|
|
Resolve a HostName to IPv4 address.
|
|
|
Get a HostEntry corresponding to the given address and family.
Note that only IPv4 is currently supported.
|
|
|
|
|
|
Low level functionality
|
|
|
|
|
|
|
|
Service names
|
|
|
Constructors | | Instances | |
|
|
|
|
|
Get service by name.
|
|
|
Get the service given a PortNumber and ProtocolName.
|
|
|
Get the PortNumber corresponding to the ServiceName.
|
|
|
|
Low level functionality
|
|
|
|
|
|
|
|
Protocol names
|
|
|
|
|
|
|
Constructors | | Instances | |
|
|
|
|
|
|
|
|
|
This is the default protocol for a given service.
|
|
|
|
Low level functionality
|
|
|
|
|
|
|
|
Port numbers
|
|
|
Instances | |
|
|
Network names
|
|
|
|
|
|
|
Constructors | | Instances | |
|
|
|
|
|
|
|
Get the list of network entries.
|
|
Low level functionality
|
|
|
Open the network name database. The parameter specifies
whether a connection is maintained open between various
networkEntry calls
|
|
|
|
|
Close the connection to the network name database.
|
|
Produced by Haddock version 0.9 |