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