> 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).
There are two bugs in SocketPrim.getSocketOption, which are causing
connectTo to fail in the way you reported. The fix will be in 5.02.1.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users