curl-library
Re: what is the best way to preform http post request every N seconds endlessly
Date: Thu, 3 Apr 2008 08:32:55 +0200
ok i will try this , thanks
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