Problems with Network.Socket.getAddrInfo under MacOS 10.5, GHC 6.10.2?

Neil Davies semanticphilosopher at googlemail.com
Mon May 4 11:35:37 EDT 2009


Hi,
It does not appear that you can access the 'addrFlags' returned by
getAddrInfo, you get the exception: *** Exception: unpackBits: unhandled
bits set: 8

Is this just a MacOS issue? Should I raise a ticket for it?

Cheers

Neil

GHCi, version 6.10.2: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Prelude> :m Network.Socket
Prelude Network.Socket> getAddrInfo Nothing (Just "localhost") Nothing
Loading package syb ... linking ... done.
Loading package base-3.0.3.1 ... linking ... done.
Loading package parsec-2.1.0.1 ... linking ... done.
Loading package network-2.2.1 ... linking ... done.
[AddrInfo {addrFlags = *** Exception: unpackBits: unhandled bits set: 8
Prelude Network.Socket>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20090504/12973189/attachment.htm


More information about the Glasgow-haskell-users mailing list