network-bsd
Version 2.8.1.0 revision 6 uploaded by Bodigrim.
Package meta
- Synopsis
- POSIX network database (<netdb.h>) API
- Description
This package provides Haskell bindings to the the POSIX network database (netdb.h) API.
Relationship to the
network
packageThe
network
package version 2.* series provides Network.BSD but it is removed starting withnetwork
version 3.0.This package provides the Network.BSD module split off from the network package.
If in addition to the
network
's modules also Network.BSD is necessary, addnetwork-bsd
to your dependencies like so:library build-depends: network >= 2.7 && < 3.2 , network-bsd >= 2.7 && < 2.9
I.e. you can control the version of the
network
package independently.NOTE: Starting with
network-bsd-2.8.1.0
the APIs ofnetwork
andnetwork-bsd
evolve differently, and consequently the versioning doesn't match up anymore! Moreover, also starting with versionnetwork-bsd-2.8.1.0
this package requiresnetwork >= 3
in order to avoid module name clashes withnetwork < 3
's Network.BSD module.However,
network-bsd-2.7.0.0
andnetwork-bsd-2.8.0.0
passes thru the Network.BSD module fromnetwork-2.7.*
andnetwork-2.8.*
respectively in a non-clashing way via Cabal's reexported-modules feature while ensuring a well-defined API versioning of the observable API ofnetwork-bsd
. This is why the example above supporting a wide range ofnetwork
versions works by including version 2.7.0.0 in the required version range ofnetwork-bsd
.- Author
- n/a
- Bug reports
- https://github.com/haskell/network-bsd/issues
- Category
- Network
- Copyright
- n/a
- Homepage
- https://github.com/haskell/network-bsd
- Maintainer
- Kazu Yamamoto, Herbert Valerio Riedel
- Package URL
- n/a
- Stability
- n/a