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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:01:34+00:00 2026-05-23T15:01:34+00:00

Is the new C++11 going to contain any socket library? So that one could

  • 0

Is the new C++11 going to contain any socket library? So that one could do something std::socket-ish?

Seeing as how std::thread will be added, it feels as if sockets should be added as well. C-style sockets are a pain… They feel extremely counter-intuitive.

Anyways: Will there be C++ sockets in C++11 (googled it but couldn’t find an answer)? If not, are their any plans on adding this? Why (/ why not)?

  • 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-23T15:01:35+00:00Added an answer on May 23, 2026 at 3:01 pm

    No, it is not. As for the near future, the C++ standards committee has created a study group that is developing a networking layer proposal. It looks like they’re going for a bottom-up approach, starting with a basic socket layer, then building HTTP/etc support on top of that. They’re looking to present the basic socket proposal at the October committee meeting.

    As for why they didn’t put this into C++11, that is purely speculative.


    If you want my opinion on the matter, it’s for this reason.

    If you are making a program that does something, that has a specific functionality to it, then you can pick libraries for one of two reasons. One reason is because that library does something that is necessary to implement your code. And the other is because it does something that is helpful in implementing code in general.

    It is very difficult for a design for a particular program to say, “I absolutely must use a std::vector to hold this list of items!” The design for a program isn’t that specific. If you’re making a web browser, the idea of a browser doesn’t care if it holds its tabs in a std::vector, std::list, or a user-created object. Now, some design can strongly suggest certain data structures. But rarely does the design say explicitly that something low-level like a std::list is utterly essential.

    std::list could be used in just about any program. As can std::vector, std::deque, etc.

    However, if you’re making a web browser, bottled within that design is networking. You must either use a networking library or write a networking layer yourself. It is a fundamental requirement of the idea.

    The term I use for the former type, for libraries that could be used in anything, is “utility” libraries.

    Threading is a utility library. Design might encourage threading through the need to respond to the user, but there are ways to be responsive without preemptive multithreading. Therefore, in most cases, threading is an implementation choice. Threading is therefore a utility.

    Networking is not. You only use networking if your design specifically calls for it. You don’t decide to just dump networking into a program. It isn’t an implementation detail; it is a design requirement.

    It is my opinion that the standard C/C++ library should only implement utilities. It’s also why I’m against other heavyweight ideas like XML parsers, etc. It isn’t wrong for other libraries to have these things, but for C and C++, these are not good choices.

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

Sidebar

Related Questions

I am working on a new project. Is there any benefit with going with
I am going to create a new web application that is very customized. It
I'm trying to dynamically generate a csv file with some cells that will contain
I'm writing a new c# desktop application that is going to allow users to
I'm going to start a new project - rewriting an existing system (PHP +
I'm going to be developing a REST-ful Web Service for a new public website.
I am totally new to XSLT and can't work out where I am going
So I'm new to rhino mocks and I'm trying to get it going in
I'm soon going to check in the very first commit of a new Java
I'm still fairly new to ASP.NET development so bear with me. I'm going to

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.