Webclient + localhost error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Webclient + localhost error

Frank Shearar
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

Reply | Threaded
Open this post in threaded view
|

Re: Webclient + localhost error

Bert Freudenberg

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 -



12