Re: "socket" addon still not being detected

Jeremy Tregunna <[email protected]> Sun, 19 Feb 2012 10:36:18 -0600
Newsgroups gmane.comp.lang.io
Message-ID <[email protected]>
In the REPL, just type: Socket, and see what happens.

Regards,

Jeremy Tregunna

On 2012-02-19, at 10:29 AM, Duke Normandin wrote:

> I'm still trying this (from IoGuide.html)
> 
> whois := method(host,
> socket := Socket clone 
> setHost("rs.internic.net") setPort(43) 
> socket connect streamWrite(host, "\n")
> while(socket streamReadNextChunk, nil)
> return socket readBuffer
> )
> 
> whois iolanguage.com
> 
> I keep getting:
> 
> Exception: Socket does not respond to 'socket'
> ---------
> Socket socket Command Line 1
> Object whois Command Line 1
> 
> Is there away to determine if the addons are installed? Any other
> ideas? TIA ...
> 
> --
> Duke
>