Sept. 17, 2012
8:11 p.m.
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.