Libcurl: force ipv4 or ipv6

Viewed 9889

How do I force libcurl to access a server running in dual stack mode over either ipv4 or ipv6? It shouldn't be hard to do using IPs addresses, but I'm looking for something that works with DNS ...

1 Answers
Related