On Thu, Sep 09, 2010 at 10:02:23AM +0900, [email protected] wrote:
> my environment is:  Vxworks 6.6 including the "curl" component
>  
> i can't use 'curl --version' command at the vxworks target machine right now
> so i printf the curl_versioninfo() like bellow:
>  
> libcurl: 7.15.3   (int)features: 20 .

If this is 20 decimal, then 0x14 is equivalent to CURL_VERSION_NTLM and
CURL_VERSION_SSL, so it doesn't support IPv6.  Note also that version 7.15.3
is many years old and there have been several improvements to IPv6 support
since.

> my net environment is:
> eg.
> http_client(use curllib)  <---------> http_server(win2008 server with DNS
> server)
> v4:192.168.1.1    <--http v4 and dns v4 request/reply ok-->       192.168.1.2
> v6:2000::1        <----------NG----------->                          2000::2
>                                                 DNS config: www.xxx.com  ip:
> 2000::2 typ:AAAA
>  
> if use "2000::2" as URL, curl will return "couldn't resolve host 2000::2"
> if use www.xxx.com as URL, curl will send a IPv4 DNS query message to DNS
> server

Note that neither "2000::2" nor "www.xxx.com" are URLs. An IPv6 URL looks
like "http://[2000::2]/";, and because of the [] you need the -g option.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to