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-2.1.0.0 ... linking ... done.
Loading package network-2.1.0.0 ... linking ... done.
*** Exception: getAddrInfo: does not exist (servname not supported for
ai_socktype)
(same error when compiled).
Anyone seen this before? I have multiple NICs, could that be
confusing listenOn (does it not just bind on 0.0.0.0?)
Tim Newsham
http://www.thenewsh.com/~newsham/
_______________________________________________
Haskell-Cafe mailing list
Haskel...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
> 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-2.1.0.0 ... linking ... done.
> Loading package network-2.1.0.0 ... linking ... done.
> *** Exception: getAddrInfo: does not exist (servname not supported for
> ai_socktype)
>
> (same error when compiled).
>
> Anyone seen this before? I have multiple NICs, could that be
> confusing listenOn (does it not just bind on 0.0.0.0?)
>
ghc 6.8.2 has the same problem on NetBSD/i386, it fixed with ghc 6.8.3:
http://hackage.haskell.org/trac/ghc/ticket/2103
-- jungle