curl-library
Re: what is the best way to preform http post request every N seconds endlessly
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 2 Apr 2008 22:52:42 -0700
Date: Wed, 2 Apr 2008 22:52:42 -0700
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 movedReceived on 2008-04-03