cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_SCOPE

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 Jul 2008 13:13:39 +0200 (CEST)

On Tue, 8 Jul 2008, Phil Blundell wrote:

> Here's a small patch to allow applications to set the address scope ID for
> IPv6 connections.

How about a little man page addition for this as well? Do you think it would
make sense to name it somewhat more descriptive, like perhaps
CURLOPT_IP_SCOPE? Or possibly CURLOPT_ADDRESS_SCOPE?

> + long scope; /* address scope for IPv6 */

Seeing this seems to be a "uint32_t" type in the standards[*], wouldn't it
make more sense to just make it an "unsigned int" within libcurl?

[*] = http://www.opengroup.org/onlinepubs/000095399/basedefs/netinet/in.h.html

-- 
  / daniel.haxx.se
Received on 2008-07-08