network-bsd: POSIX network database (<netdb.h>) API

[ bsd3, library, network ] [ Propose Tags ]

This package provides Haskell bindings to the the POSIX network database (netdb.h) API.

Relationship to the network package

The network package version 2.* series provides Network.BSD but it is removed starting with network 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, add network-bsd to your dependencies like so:

    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- the APIs of network and network-bsd evolve differently, and consequently the versioning doesn't match up anymore! Moreover, also starting with version network-bsd- this package requires network >= 3 in order to avoid module name clashes with network < 3's Network.BSD module.

However, network-bsd- and network-bsd- passes thru the Network.BSD module from network-2.7.* and network-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 of network-bsd. This is why the example above supporting a wide range of network versions works by including version in the required version range of network-bsd.


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,
Change log
Dependencies base (>=4.7 && <5), deepseq (>= && <1.6), network (>= && <3.0.2 || >= && <3.2) [details]
License BSD-3-Clause
Maintainer Kazu Yamamoto, Herbert Valerio Riedel
Revised Revision 5 made by AndreasAbel at 2023-08-06T09:54:49Z
Category Network
Home page
Bug tracker
Source repo head: git clone
Uploaded by HerbertValerioRiedel at 2019-01-19T23:54:28Z
Distributions Arch:, Debian:, Fedora:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Reverse Dependencies 32 direct, 838 indirect [details]
Downloads 18702 total (150 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-01-20 [all 1 reports]