Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8275667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:08:57+00:00 2026-06-08T08:08:57+00:00

How do I force libcurl to access a server running in dual stack mode

  • 0

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 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T08:09:00+00:00Added an answer on June 8, 2026 at 8:09 am

    You bet. The config CURLOPT_IPRESOLVE which can be set to CURL_IPRESOLVE_V4 or CURL_IPRESOLVE_V6.

    A more robust solution, if you can control DNS in anyway, is to make an A record for the v4 address and a separate AAAA record for the v6 address. This would let you pick the network you want to poll this system by, regardless of DNS resolution. But CURL can do what you want, just fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is is possible to force Grid view edit mode without using object data source,
how to force ubuntu 11.04 to run on low graphics mode ? ( sorry
I am trying to force HTTPS on a domain. It must be done using
Is it possible to force links to open in a new window/tab using javascript
Possible Duplicate: Force Download an Image Using Javascript Basically I want to have the
I want to force the browser to download a pdf file. I am using
(Refer http://curl.haxx.se/libcurl/c/curl_easy_setopt.html ) Using the C libcurl requires you to set the curl option
Is it possible to force a column in a SQL Server 2005 table to
I am using Libcurl in my application with C and GNU compiler on a
Is there anyway to force a mouse click using C++ outside of my application?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.