Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Networking Library in C++14

Herb Sutter writes here (on his ISO C++ Spring 2013 meeting trip report) that a networking library is planned to be added to C++14.

What features would this library have initially? What is it based on? Is there a proof-of-concept implementation? My Google-fu must be seriously lacking, because I can't even find the proposal draft.

There are a series of blog posts on http://meetingcpp.com/ listing the proposals for C++14: part 1, part 2, part 3 and part 4. Among all these, I can only find two network-related proposals:

  • N3555 - a URI Library for C++ (sorry, no link; though its predecessor is N3507.)
  • N3603 - A Three-Class IP Address proposal (with a related earlier paper N3565 - IP Address Design Constraints.)

Is this all? Will the C++ network library have only these facilities? I don't even know whether these passed the vote or not, as Michael Wong's two part review of the same meeting (Bristol, April 2013) doesn't even mention them.

like image 261
yzt Avatar asked Apr 29 '13 23:04

yzt


People also ask

What is a network library?

The Network library makes it possible to read and write data across machines on the Internet. It allows the creation clients and servers. A server connects to a list of clients for reading and writing data. A client is able to read and write data to a server.


1 Answers

a networking library is planned to be added to C++14.

A networking library (or set of library components) will appear as a separate Technical Specification, not as part of C++14.

I can only find two network-related proposals

The blog posts don't list all the proposals in the mailings, just the ones someone has found time to write up, there are others such as:

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3360.pdf
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3374.htm
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3388.pdf
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3389.pdf
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3565.pdf
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3620.pdf

What will be part of the TS isn't decided yet AFAIK.

like image 140
Jonathan Wakely Avatar answered Oct 05 '22 22:10

Jonathan Wakely