packages feed

henet

Bindings and high level interface for to ENet v1.3.9

view on Hackage

ENet is a networking library on top of UDP. In it's own words: "ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol). The primary feature it provides is optional reliable, in-order delivery of packets. ENet omits certain higher level networking features such as authentication, lobbying, server discovery, encryption, or other similar tasks that are particularly application specific so that the library remains flexible, portable, and easily embeddable." This library contains both bindings and a slightly cleaned up interface on top. The bindings are as close to the original as possible. Names are striped of the leading 'enet_' and converted to CamelCase, and the occasional newtype is used instead, but otherwise all functions signatures are exactly the same. The bindings are in 'Network.ENet.Bindings'. The higher level interface is all other exposed modules. Functions like 'enet_host_*' are placed in 'Network.ENet.Host'. All functions are present except for the 'enet_socket*' functions: they are just wrappers of the Posix Sockets Interface, which is already provided in Haskell by the 'network' package. Changes are fairly minimal: "Out-Args" are now returned with a tuple, conversions between C and Haskell types happen automatically (when Haskell versions exists), and nullable pointer types have been replaced with Maybes. In short, there should be very few reasons to use the raw bindings over the "nice" interface. At the moment, consult the ENet website for documentation. In the vast majority of cases the documentation there should apply here exactly, I will try to add Haddock documentation for everywhere it does not. ENet currently only supports IPv4 at the moment (though that should soon change), and must be called from only one bound thread (i.e. thread created with 'forkOS'). Richer native networking libraries leveraging Haskell's strengths exist, and for new projects I'd recommend those. But for interfacing with existing protocols using ENet, this package should be quite useful.
versionuploadeduploaderchanges
1.3.9.32013-09-04 04:03 UTCJohnEricson+90/−44 lines, 5 files
1.3.9.22013-08-29 16:49 UTCJohnEricson+3/−2 lines, 1 files
1.3.9.12013-08-29 16:35 UTCJohnEricson+2/−2 lines, 1 files
1.3.9.02013-08-29 16:18 UTCJohnEricson+120/−90 lines, 9 filesdep −primitivedep ~bitset
1.3.8.1.12013-07-28 06:47 UTCJohnEricson+11/−11 lines, 2 files
1.3.8.12013-07-28 06:12 UTCJohnEricson+13/−10 lines, 3 files
1.3.8.02013-07-20 19:17 UTCJohnEricson+6956/−0 lines, 30 filesdep +basedep +bitsetdep +bytestringsetup-changed

Dependencies of henet-1.3.9.3

base >=3 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

bitset >=1.4.7 1.4.7 → 1.4.8
2014-03-10 16:33 UTC1.4.8+113/−31 lines, 7 filesdep +tastydep +tasty-quickcheckdep −test-frameworkdep −test-framework-quickcheck2dep ~QuickCheckdep ~base
2013-08-24 20:18 UTC1.4.7+82/−144 lines, 7 filesdep ~criterionPVP: major bump suggested
2013-07-16 20:12 UTC1.4.6 outside bounds+144/−38 lines, 8 filessetup-changedPVP: major bump suggested
2013-06-06 17:10 UTC1.4.5 outside bounds+22/−10 lines, 4 filessetup-changedPVP: major bump suggested
2013-05-13 15:29 UTC1.4.4 outside bounds+9/−2 lines, 3 filesPVP ok

showing 5 of 15 versions

bytestring >=0.10 0.12.1.0 → 0.12.2.0
2024-12-06 21:41 UTC0.12.2.0+538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok
2024-02-16 03:27 UTC0.12.1.0+3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested
2023-08-16 01:53 UTC0.12.0.2+16/−2 lines, 3 files
2023-08-05 00:03 UTC0.12.0.1+47/−9 lines, 3 files
2023-07-07 01:45 UTC0.12.0.0+1459/−520 lines, 21 filesdep +data-array-bytePVP ok

showing 5 of 49 versions

network >=2.4.1 3.2.15.0 → 3.2.16.0
2026-11-23 03:48 UTC3.2.16.0+24/−4 lines, 5 filesPVP ok
2026-11-22 04:23 UTC3.2.15.0+71/−3 lines, 6 filesPVP ok
2026-11-15 10:59 UTC3.2.14.0+74/−33 lines, 10 filesPVP ok
2026-11-13 00:50 UTC3.2.13.0+75/−68 lines, 7 filesPVP ok
2026-11-05 05:55 UTC3.2.12.0+1133/−106 lines, 21 filesPVP: major bump suggested

showing 5 of 101 versions

typesafe-endian >=0.1 && <0.2 0.1.0.0 → 0.1.0.1
2013-07-20 04:47 UTC0.1.0.1+2/−2 lines, 2 files
2013-07-13 22:02 UTC0.1.0.0+350/−0 lines, 7 filesdep +basesetup-changed

Reverse dependencies

1 packages depend on henet

acme-everything 2018.11.18 requires henet >=0