packages feed

Win32-dhcp-server

Win32 DHCP Server Management API

view on Hackage

This package provides a partial binding to the Win32 DHCP Server Management API. Its purpose is to query and control a Microsoft DHCP server. Enough functionality is defined so so that Ipv4 client lease and reservation records can be manipulated programmatically._Only 32-bit versions of GHC are supported at this time._ Here are a few notes on the required environment: * Only 32-bit executables are supported. This is mainly because pointers are assumed to be 4 bytes wide in a few places. Support for 64-bit executables may be added in the future. * All library calls should be supported on Windows 7 or above. /Simple Example and Usage/ @ \-\- Print all MAC addresses with an active client lease module Main where import Data.Ip import Data.Mac import qualified Data.Text.IO as T import System.Win32.DHCP main :: IO () main = do &#x20; api <- loadDHCP &#x20; clients <- enumClients api context &#x20; let macs = map (showMac \":\" . clientHardwareAddress) clients &#x20; mapM_ T.putStrLn macs &#x20; where &#x20; Right subnet = readIp \"192.168.1.0\" &#x20; context = Context \"192.168.1.5\" subnet @
versionuploadeduploaderchanges
0.3.22015-08-24 21:31 UTCMichaelSteele+1681/−1669 lines, 20 files
0.3.12015-04-18 00:08 UTCMichaelSteele+1684/−1682 lines, 38 files
0.32015-04-03 16:29 UTCMichaelSteele+14/−8 lines, 3 filesdep ~Win32-errorsdep ~basedep ~text
0.2.12014-08-30 00:44 UTCMichaelSteele+1678/−1628 lines, 18 filesdep ~Win32
0.22014-04-05 16:55 UTCMichaelSteele+258/−113 lines, 9 filesdep +Win32-errorsdep +textdep −safe
0.12014-02-22 19:44 UTCMichaelSteele+1614/−0 lines, 21 filesdep +Win32dep +basedep +safesetup-changed

Dependencies of Win32-dhcp-server-0.3.2

Win32 >=2.2 && <2.4 2.3.1.1 → 2.14.2.2 newer than bounds
2026-05-27 18:35 UTC2.14.2.2 newer than bounds+8/−5 lines, 4 filesPVP ok
2025-06-23 19:51 UTC2.14.2.1 newer than bounds+17/−3 lines, 4 filesPVP ok
2025-05-31 06:32 UTC2.14.2.0 newer than bounds+260/−13 lines, 10 filesPVP ok
2024-11-12 20:10 UTC2.14.1.0 newer than bounds+235/−11 lines, 11 filesPVP ok
2024-01-13 23:14 UTC2.14.0.0 newer than bounds+740/−208 lines, 13 filesdep +os-stringdep ~filepath

showing 5 of 49 versions

Win32-errors >=0.2 && <0.3 0.2.2.6 → 0.2.2.7
2023-04-05 20:52 UTC0.2.2.7+11/−8 lines, 3 filesdep ~Win32dep ~template-haskelldep ~textPVP ok
2023-04-05 20:43 UTC0.2.2.6+14/−5 lines, 2 filesdep ~Win32dep ~template-haskellPVP ok
2019-09-15 19:04 UTC0.2.2.5+11/−6 lines, 2 filesdep ~Win32dep ~template-haskellPVP ok
2019-05-12 11:10 UTC0.2.2.4+8/−4 lines, 2 filesdep ~Win32dep ~template-haskellPVP ok
2018-07-20 15:35 UTC0.2.2.3+500/−428 lines, 11 filesdep +QuickCheckdep +Win32-errorsdep +hspecdep ~Win32dep ~basedep ~template-haskellsetup-changednew-uploaderPVP: major bump suggested

showing 5 of 11 versions

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

showing 5 of 61 versions

text >=0.11 && <1.3 1.2.5.0 → 2.1.5 newer than bounds
2026-11-27 23:30 UTC2.1.5 newer than bounds+33786/−32979 lines, 58 filesPVP: major bump suggested
2026-01-28 08:30 UTC2.1.4 newer than bounds+30991/−20199 lines, 35 filesdep +template-haskell-liftdep ~QuickCheckdep ~template-haskellPVP ok
2025-08-01 20:08 UTC2.1.3 newer than bounds+2107/−1827 lines, 30 filesdep +splitmixdep +temporarydep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP ok
2024-10-26 13:22 UTC2.1.2 newer than bounds+43588/−15378 lines, 41 filesdep ~basedep ~binaryPVP: major bump suggested
2024-02-16 22:16 UTC2.1.1 newer than bounds+986/−412 lines, 26 filesdep ~QuickCheckdep ~ghc-primdep ~template-haskellPVP: major bump suggested

showing 5 of 83 versions

Reverse dependencies

1 packages depend on Win32-dhcp-server

acme-everything 2018.11.18 requires Win32-dhcp-server >=0