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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T10:35:09+00:00 2026-06-02T10:35:09+00:00

Well I have been wondering if there is a standard socket header file for

  • 0

Well I have been wondering if there is a standard socket header file for C++

I did search the whole internet (using google search engine ), but couldn’t find any standard socket header file for C++ , beside finding some libraries, like Boost, chilkat etc…

I have only succeeded in finding a standard socket header file for C programming language.
If I used the C standard socket header file, but inside my C++ code, does it mean my program
is Pure C++ or C and C++?

Because I didn’t find any standard C++ socket header file. Like
there is <string> for C++ and there is <string.h> for C, but there is no socket
standard header file for C++.

I hope someone C/C++ wise would explain all that for me, step by step.

  • 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-02T10:35:11+00:00Added an answer on June 2, 2026 at 10:35 am

    There is no standard socket library in C++. You can either use whatever sockets API your operating system provides (typically a C API, on Unix operating systems it would be the BSD sockets API), or you can use a C++ library like Boost.ASIO, which is cross-platform.

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

Sidebar

Related Questions

I have been using LinqToSQL for quite a while as well as using Devart,
Can anyone help? I have been using the entity framework and its going well
There is a question I have been wondering about for ages and I was
The differences between StringBuilder and StringBuffer in Java are well documented and have been
Similar questions have been asked but cannot find a solution that works well. What
Disclaimer I am well aware that PHP might not have been the best choice
I'm very much new to programming and have been doing fairly well so far.
I am currently working on a website and lately have been using GD with
I have been studying .NET 4.0 Code Contracts and looking on stackoverflow as well
Good day, I have been using JNA for a while to interact with the

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.