curl-library
Re: what is the best way to preform http post request every N seconds endlessly
Date: Thu, 3 Apr 2008 22:24:07 +0200
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 ?
On Thu, Apr 3, 2008 at 7:52 AM, Dan Fandrich <dan_at_coneharvesters.com> wrote:
> On Thu, Apr 03, 2008 at 07:45:52AM +0200, Meir Yanovich wrote:
> > ok if you look in this example you will see that the crul init
> > function is created inside
>
> curl_easy_init != curl_global_init
>
>
> > the function thread ( like my example )
> > http://curl.haxx.se/lxr/source/docs/examples/multithread.c
> > so i guess im doing things right .but it still does not work, why ?
>
> Good catch--that example is wrong. curl_global_init needs to be called
> in main() in that case. That example program needs to be fixed (as does
> yours).
>
>
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com The web change of address service
> Let webmasters know that your web site has moved
>
Received on 2008-04-03