[Haskell-cafe] ghc socket weirdness

Tim Newsham newsham at lava.net
Thu Jul 24 03:04:21 EDT 2008

FreeBSD/7.0 amd64:

GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Prelude> :module +Network
Prelude Network> listenOn $ PortNumber 8765
Loading package parsec- ... linking ... done.
Loading package network- ... linking ... done.
*** Exception: getAddrInfo: does not exist (servname not supported for 

(same error when compiled).

Anyone seen this before?  I have multiple NICs, could that be
confusing listenOn (does it not just bind on

Tim Newsham

More information about the Haskell-Cafe mailing list