Thanks all!

I got ICMPSocket from the OpenQwaq repo, but it doesn't seem to work very well...

ICMPSocket ping: 'www.google.com'

This runs for a while and then a confirmation window pops up asking whether I'd like to keep waiting for the server.

For now I'll go with my implementation and wait for Sven's fix.

Cheers!

2012/9/17 St��phane Ducasse <stephane.ducasse@inria.fr>

On Sep 17, 2012, at 9:23 PM, Hern��n Morales Durand wrote:

> Search for the #ping: in ICMPSocket class, IIRC it is included in OpenQwaq.

which is GPL so watch out��� it is a plague and contagious.


>
> Hern��n
>
> On 17/09/2012 12:44, Bernat Romagosa wrote:
>> Hi list,
>>
>> How does one ping a host from Pharo? I see there is a #ping: method at
>> Socket class, but it's painfully slow... I've tried to use ZnClient as
>> follows:
>>
>> �� ��isUp := [ (ZnClient new head: aUrl) isNil ]
>> �� ��on: Error
>> �� ��do: [ false ].
>>
>>
>> But it's still way too slow... I don't want to perform a full GET
>> request, just an ICMP one.
>>
>> Thanks!
>>
>> Bernat.
>>
>> --
>> Bernat Romagosa.
>
>





--
Bernat Romagosa.