| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Setting IP ToS and socket priority.
From: Ben Greear <greearb_at_candelatech.com>
Date: Wed, 02 Mar 2005 12:18:46 -0800
Hello!
I'd like to add the ability to set a particular IP ToS on sockets as
I did not see any options or call backs that could accomplish this,
I think the most flexible would be a callback that was called whenever
Maybe something like:
int curl_socket_open_handler(int sk);
int curl_easy_setopt(curl, CURLOPT_SOCKET_OPEN_CALLBACK, &curl_socket_open_handler));
I could muck with socket options to my hearts content in the curl_socket_open_handler
Alternately, you could allow setting ToS and Priority values in the
/* Returns actual priority that was set, or < 0 on error */
int new_val = 0;
And, for TOS:
Thanks,
-- Ben Greear <greearb_at_candelatech.com> Candela Technologies Inc http://www.candelatech.comReceived on 2005-03-02 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info