cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How can i use curl if internet connection is not available

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 4 Apr 2006 10:24:44 +0200 (CEST)

On Tue, 4 Apr 2006, Mohd Idzuan wrote:

> I have found some problem recently. I have found that the handle to
> vbcurl_easy_init() will return 0, if internet connection is not available.
> And using this handle with other curl function will crash the VB6
> application.

curl_easy_init() should not return NULL because of this. libcurl has no notion
of "internet" and it has no idea if that is available or not.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-04-04