[Haskell-cafe] Re: Cleaner networking API - network-fancy
spam at scientician.net
Thu Aug 13 13:45:49 EDT 2009
Taru Karttunen wrote:
> network-fancy offers a cleaner API to networking facilities in
> Haskell. It supports high-level operations on tcp, udp and unix
> I would like some feedback on the API
> In particular:
> * Does the type of the server function in dgramServer make sense?
> or would (packet -> Address -> (packet -> IO ()) -> IO ()) be
> * Does the StringLike class make sense?
> * Any other suggestions?
> - Taru Karttunen
One thing that seems to be missing (and also seems to be missing from
the GHC standard libraries AFAICT) is listening for multicast UDP. This
requires some extra socket gymnastics to handle group membership. The
details can be found in the network-multicast package.
/me who wonders where his signature went.
More information about the Haskell-Cafe