cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Query about

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 23 Feb 2009 10:20:59 +0100 (CET)

On Mon, 23 Feb 2009, Ranu Gontia wrote:

> Before starting this, I have to check weather the server is reachable or not
> i.e i am able to connect to server or not.
>
> I tried it but curl_easy_perform returns CURLE_OK even if it could not
> connect to the server.

I'm sorry, but it does not return CURLE_OK for those cases. It never has.

-- 
  / daniel.haxx.se
Received on 2009-02-23