cURL / Mailing Lists / curl-library / Single Mail


Re: what is the best way to preform http post request every N seconds endlessly

From: Dan Fandrich <>
Date: Thu, 3 Apr 2008 13:59:34 -0700

On Thu, Apr 03, 2008 at 10:24:07PM +0200, Meir Yanovich wrote:
> even if i insert into the code in main the
> curl_global_init(CURL_GLOBAL_DEFAULT);
> it still gives me run time error
> i also try the cUrl example after puting the curl_global_init in the
> main and it gives me error
> can some one please tell me how can it work ?

Your program isn't installing a write callback handler, so libcurl
will write the output to stdout. Are you sure the stdio routines you're
using are thread safe? Are you sure you're using a thread safe C library
to begin with?

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-04-03