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 3599304
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:21:04+00:00 2026-05-18T20:21:04+00:00

Background: A network-based service ( tcp+udp , not http ) exists with a soon-to-be

  • 0

Background: A network-based service (tcp+udp, not http) exists with a soon-to-be public published C++ linux client API. This client API Uses normal tcp sockets, udp sockets, C++ namespaces and parts of the stl like std::map and std::vector, and will be published as a set of header files and .a and .lib files to link against.

Questions: Just starting to look into what it would take to port this C++ client API to Windows. Does it make sense to use gcc/g++ under Windows? My first inclination is this wouldn’t work since developers on Windows typically use the Microsoft Visual Studio suite, and they wouldn’t be able to link against the library produced by gcc. Is this a correct assumption, or does gcc provide some nifty switches which produces Microsoft-compiler and Microsoft-linker compatible output files?

  • 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-05-18T20:21:04+00:00Added an answer on May 18, 2026 at 8:21 pm

    As long as the compiler you’re using produces genuine .dll or .lib files, you shouldn’t have an issue linking them with a standard linker in Windows. However, only either unmanaged development (meaning classic Win32 API development) or C++/CLI will be able to link against these .dlls. If you compile to a .dll (not a .lib), you can target this assembly from within a managed context (C#, VB.NET, etc.) using P/Invoke syntax, but if all you’re doing is standard socket read/write operations, you’re probably better off writing a fully-managed implementation in .NET.

    In the end it comes down to what audience you want to target: for classic Win32, you’re fine. For managed targets (anything .NET, aside from C++/CLI) then you’re better off writing a managed implementation in C# or VB.NET instead.

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

Sidebar

Related Questions

Background: A network-based service ( tcp+udp , not http ) exists with a soon-to-be
Background : I currently write test cases for the client side of a network
Background When working on a closed network (i.e. no internet connection), Microsoft's public symbol
My program does some network activity in a background thread. Before starting, it pops
Background I am writing and using a very simple CGI-based (Perl) content management tool
I have an application which does some background task (network listening & reading) in
I'm in the process of setting up a background task that makes network calls;
Background: I am working on a proposal for a PHP/web-based P2P replication layer for
I have an application that is running as a background service and constantly listens
Background (Input) The Global Historical Climatology Network has flagged invalid or erroneous data in

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.