cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: max download/upload speed setting (libcurl, Delphi)

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Sun, 5 Jul 2009 22:30:00 +0200

On Sunday 05 of July 2009 22:17:44 :) wrote:
> > But for now I would just try something like:
> > Int64 speed = 1024*10;
> >  curl_easy_setopt(MyCurl, CURLOPT_MAX_RECV_SPEED_LARGE, speed);
> >  curl_easy_setopt(MyCurl, CURLOPT_MAX_SEND_SPEED_LARGE, speed);
>
> I have tried this already ... and no success :(
>
> I study the source code of that binding and I found this
> function curl_easy_setopt(curl:pCURL; option:CURLoption):CURLcode;
> varargs; cdecl; external LIB_CURL;
> I am not an expert, but isn't the "parameter" missing? :D :D :D

I wonder how this works. Is the binding really used anywhere?

Kamil
Received on 2009-07-05