Volker, I only saw your answer today since it was filed in my Haskell-mailing-list folder. Indeed, I've moved on to
import Network.Socket and then duplicated part of my code. One thing that I found annoying was that the Protocol argument of Network.Socket.socket is not well specified. The type Protocol is abstract, but is a member of class Read. However, the Read syntax is nowhere specified. So I tried do sock <- socket AF_UNIX Stream (read "0") which works, but I'm sure that more informative strings work, too. -Peter _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users