> I just wanted to play a bit with the Socket library comming
> with Haskell. However, whatever I try to do, I get the following
> runtime error, eg in ghci:
> 
> Socket>  connectTo "pcsep" (PortNumber 80)
> *** Exception: does not exist
> Action: getProtocolByName
> Reason: no such protocol entry
> 
> 
> Seems that I am doing something wrong here?

Which platform are you on?  (there is a bug in 5.02's networking library
which means that Socket.conncetTo might not work - but I haven't seen it
produce the error that you quote above).

Simon

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to