[squeak-dev] Re: Webclient + localhost error

Bert Freudenberg bert at freudenbergs.de
Sun Oct 31 15:52:05 UTC 2010


On 31.10.2010, at 16:24, Frank Shearar wrote:

> On 2010/10/31 16:27, Bert Freudenberg wrote:
>> On 29.10.2010, at 22:09, Frank Shearar wrote:
>> 
>>> I think NetNameResolver might have to be updated to support IPv6:
>>> 
>>> NetNameResolver addressForName: '::1' timeout: 5 -->  timeout
>>> NetNameResolver addressForName: '127.0.0.1' timeout: 5 -->  #[127 0 0 1]
>>> 
>>> (NetNameResolver calls down to the SocketPlugin for the heavy lifting.)
>>> 
>>> frank
>> 
>> In current Etoys on a Mac:
>> 
>> NetNameResolver addressForName: '::1' timeout: 5
>> ==>  ::1(localhost),0(0)
>> 
>> NetNameResolver addressesForName: 'localhost'
>> ==>  an OrderedCollection(
>>   ::1(localhost),0(0)-inet6-stream-tcp
>>   fe80::1%lo0(localhost),0(0)-inet6-stream-tcp
>>   127.0.0.1(localhost),0(0)-inet4-stream-tcp)
> 
> Interesting! I tried on a Windows XP machine, with a trunk image (#10568) on a VM versioned "Squeak4.0.1 from Mar 28 2010".
> 
> So maybe Windows' SocketPlugin doesn't do IPv6, or maybe (more likely) I should go read SocketPlugin's source a bit.
> 
> frank

Or the Squeak trunk IPv6 code isn't quite finished. You might try Etoys on Window to be sure.

- Bert -





More information about the Squeak-dev mailing list