Not knowing anything about the package or the function, my guess is connectTo wants a domain name, not a URL, because it proceeds to do a DNS lookup on exactly that.
Hello,I try to connect to host:>>> connectTo "httpbin.org" (PortNumber 80)
{handle: <socket: 8>}It's ok. But if i try to connect:>>>connectTo "httpbin.org/ip" (PortNumber 80)*** Exception: getAddrInfo: does not exist (Name or service not known)
Why i got this error?Thank you.
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners