
In article <20051105110743.GA22208@yui.aoinet>,
Einar Karttunen
network-alt 0.3 featuring: * New improved build system * Recvfrom and sendto fixes * Windows support
Network-Alt is an alternative networking library for Haskell supporting a nicer API, better performance and IPv6 support.
It's quite low-level, isn't it? I wonder if it would be worth doing something along these lines: newtype IPv4Address = IPv4Address Word32 newtype IPv6Address = IPv6Address Word128 type PortNumber = Word16 data InternetService addr = MkInternetService { localAddress :: addr, sendUDP :: UDPOptions -> addr -> PortNumber -> [Word8] -> IO (), -- etc. } getIPv4Services :: IO [InternetService IPv4Address] getIPv6Services :: IO [InternetService IPv6Address] -- Ashley Yakeley, Seattle WA