24 Oct
2001
24 Oct
'01
7:44 p.m.
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