Network Exception
Arias
arias at radioreykjavik.net
Wed Oct 12 12:13:52 EDT 2005
Hi,
My name Iván Arias, I'm trying to connect to a server using the Network
library, the code that I'm using is something like this:
--- BEGIN ---
module Main where
import System.IO
import Network
main = do
handle <- connectTo "localhost" ( PortNumber 8080 )
hClose handle
--- END ---
It compiles correctly, but when I try to run this code, it throws an
exception at connectTo. The exception message is this:
- getServiceEntry: does not exists (No such service entry)
Do somebody know why this happens and how to fix it? Thanks
More information about the Libraries
mailing list