
13 Oct
2001
13 Oct
'01
3:35 p.m.
what am I doing wrong? it worked before ... this program module Main (main) where import IO import Socket main = do h <- connectTo "theopc.informatik.uni-leipzig.de" ( PortNumber $ 9999 ) putStrLn "connected" hClose h results in Fail: invalid argument Action: getSocketOption Reason: Invalid argument even though there IS a listener on the socket (other programs can connect to it). I have ghc-5.02 (binary package for SunOS) Any hints appreciated. how to find out what is invalid? -- -- Johannes Waldmann ---- http://www.informatik.uni-leipzig.de/~joe/ -- -- joe@informatik.uni-leipzig.de -- phone/fax (+49) 341 9732 204/252 --