[GHC] #2139: have a way to specify listening host in Network (listenOn)

GHC trac at galois.com
Thu Mar 6 05:58:10 EST 2008


#2139: have a way to specify listening host in Network (listenOn)
--------------------------------+-------------------------------------------
    Reporter:  phr              |       Owner:          
        Type:  feature request  |      Status:  new     
    Priority:  normal           |   Component:  Compiler
     Version:  6.8.2            |    Severity:  normal  
    Keywords:                   |    Testcase:          
Architecture:  Unknown          |          Os:  Unknown 
--------------------------------+-------------------------------------------
 I want to run a local (127.0.0.1) server and there doesn't appear to be
 any way to specify the IP address to bind to in the listenOn function.  I
 can only listen on a port number, which I guess exposes the port to the
 internet.  I guess I could do this with the more cumbersome Network.Socket
 module, but this operation is basic enough that I think the higher level
 module should have it.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2139>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list