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

  • Home
  • SEARCH
  • 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 8039431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:34:02+00:00 2026-06-05T03:34:02+00:00

i am writing a QT/C++ program, that i don’t want to have dependecies on

  • 0

i am writing a QT/C++ program, that i don’t want to have dependecies on a specific OS (at least keep them to a minimum with some preprocessor directives).

i’m using QT Creator to design my program, which is done mainly on my Linux box, and every now and then, pull the code on the windows machine and attempt to compile it to make sure it still compiles.

to the point now, i need to use the functions inet_pton and inet_ntop, but they seem to be part of the GNU C Library. I looked around, and read that some MS libraries have them as well, though i’m no expert in MS development.

my question, is there an easy way to use these functions in my program? or am i better off checking out their code in glibc, and implementing them myself? or can you recommend some other alternative?

thanks in advance

  • 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-05T03:34:04+00:00Added an answer on June 5, 2026 at 3:34 am

    inet_pton/etc is only available on Vista and above. If you need to run on WinXP you can use WSAStringToAddress().

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

Sidebar

Related Questions

Im writing a program that should read input via stdin, so I have the
I am writing a program that takes letters and converts them to telephone numbers.
I'm writing a program that loads all the classes from a specified folder. Some
Unfortunately I don't know much networks. I am writing a program that has two
I have tried writing program that plays a sound file but have been unsuccessful
I am writing a program that requires I have a button with an image
I'm writing a program that spawns child processes. For security reasons, I want to
I am writing a program that shows/hides the window of some target application. I
Ok basically I'm writing a program that takes in two directories and processes them
I'm writing a ruby program that will be using threads to do some work.

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.