which is GPL so watch out��� it is a plague and contagious.
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.
>
> 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.
>
>