> How do I use sockets in Haskell? The ghc manual had some
> information in the users guide (6.7 Interfaces to C
> libraries) but the sentence which started tantalisingly
>
> "Various examples of networking Haskell code are provided in "
>
> had no second half.
>
> I'd prefer to use hugs during development but there didn't
> seem to be anything about sockets in the hugs documentation.
It sounds like you might be reading the documentation for an older version
of GHC. Anyway, some more up-to-date documentation on GHC's networking
libraries is here:
http://www.haskell.org/ghc/docs/latest/hslibs/c1207.html
Cheers,
Simon