
12 Oct
2005
12 Oct
'05
12:13 p.m.
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
7160
Age (days ago)
7160
Last active (days ago)
0 comments
1 participants
participants (1)
-
Arias