#2391: Network.listenOn (PortNumber n) Sometimes Picks IPv6
----------------------+-----------------------------------------------------
 Reporter:  cjs       |          Owner:          
     Type:  bug       |         Status:  new     
 Priority:  normal    |      Milestone:  Not GHC 
Component:  Compiler  |        Version:  6.8.3   
 Severity:  normal    |     Resolution:          
 Keywords:            |     Difficulty:  Unknown 
 Testcase:            |   Architecture:  Multiple
       Os:  Multiple  |  
----------------------+-----------------------------------------------------
Changes (by PHO):

 * cc: [EMAIL PROTECTED] (added)

Comment:

 I saw exactly the same problem on FreeBSD.


 > I propose that we (re-?)define PortID's PortNumber constructor to refer
 only to IPv4 protocol ports, and add a new PortNumber6 constructor for
 IPv6 ports.

 That sounds highly reasonable. I prefer that way.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2391#comment:2>
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

Reply via email to