cURL tiene soporte a IPV6?
#1
Escrito 15 noviembre 2012 - 12:46
Se necesita algo "especial" para que cURL soporte IPV6 ?
Saludos
--------------------
Disculpa mi brevedad, mensaje creado con Android LG990h
#2
Escrito 15 noviembre 2012 - 02:08
--------------------
Disculpa mi brevedad, mensaje creado con Android LG990h
Mi respuesta también es breve:
IPv6
curl will connect to a server with IPv6 when a host lookup returns an IPv6
address and fall back to IPv4 if the connection fails. The --ipv4 and --ipv6
options can specify which address to use when both are available. IPv6
addresses can also be specified directly in URLs using the syntax:
http://[2001:1890:1112:1::20]/overview.html
When this style is used, the -g option must be given to stop curl from
interpreting the square brackets as special globbing characters. Link local
and site local addresses including a scope identifier, such as fe80::1234%1,
may also be used, but the scope portion must be numeric and the percent
character must be URL escaped. The previous example in an SFTP URL might
look like:
sftp://[fe80::1234%251]/
IPv6 addresses provided other than in URLs (e.g. to the --proxy, --interface
or --ftp-port options) should not be URL encoded.
Saludos