cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to "ping" ?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 3 Feb 2005 22:49:50 +0100 (CET)

On Thu, 3 Feb 2005, Philippe HAMEAU wrote:

> It's probably a stupid question, but is cURL able to send echo resquests ?
> Just like a "ping" would.

No, it doesn't.

> I need a way (with mingw32) to ping a couple of IPs, and if those ping are
> ok, try to open TCP connexions.

In these days, many hosts don't respond to ICMP echo but still allow TCP
connects fine.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-02-03