networking-ts-impl
networking-ts-impl copied to clipboard
An implementation of the C++ Networking Technical Specification
Doing that would be preferable for distros, so only once src repo needs to be tracked.
The technical specification defines most member functions on `basic_endpoint` and `address` as `noexcept`. I'm especially interested in having these types be `nothrow_move_constructible` and `nothrow_move_assignable`. Would you be open to a...
In the following code, reading the content requires catching std::system_error then checking for std::net::error::eof in the code() call. It would be nice if most (if not all) errors could be...
In the current Networking TS (N4734) `basic_waitable_timer::cancel()` is not `noexcept`. Is this because of memory allocation while canceling or was the `noexcept` simply forgotten? The question is probably more important...
Is there any text or examples for integrating SSL/TLS with the networking TS? A quick glance makes me think that asio/ssl.hpp could be used by doing something like `asio::ssl::stream`, but...
When compiling with MSVC (2017 and 2017.3), the following code works just fine. If I try to compile it with LLVM/Clang (4.0.1 with libcxx), I have to replace `std::string_view` with...
VS 15.5 with /std:c++latest complains about the deprecated use of std::allocator: `` warning STL4009: std::allocator is deprecated in C++17. You can define _SILENCE_CXX17_ALLOCATOR_VOID_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have...
VS 15.5 with /std:c++latest complains about the deprecated use of std::result_of: error C4996: 'std::result_of': warning STL4014: std::result_of and std::result_of_t are deprecated in C++17. They are superseded by std::invoke_result and std::invoke_result_t....
If I write a server in asio and I want to integrate this with a foreign event loop on the same thread, how would this be done? Is there a...