#2391: Network.listenOn (PortNumber n) Sometimes Picks IPv6
-------------------------------+--------------------------------------------
Reporter: cjs | Owner: bos
Type: bug | Status: assigned
Priority: normal | Milestone: Not GHC
Component: libraries/network | Version: 6.8.3
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Multiple
Os: Multiple |
-------------------------------+--------------------------------------------
Changes (by bos):
* status: new => assigned
* owner: => bos
Comment:
This sounds like a peculiarity of the BSD networking stack. On Linux, the
code correctly chooses a wildcard address that responds to both IPv4 and
IPv6 traffic.
I'd strongly suggest that a BSD user dig into the platform-specific
problem. Suggesting an API change without any investigation of the
underlying issue is not the right approach.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2391#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs