[Haskell-beginners] Haskell connectTo problem
Alexander 0xAX
anotherworldofworld at gmail.com
Sat Jan 5 14:25:16 CET 2013
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130105/28e5dec3/attachment.htm>
More information about the Beginners
mailing list