Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asio standalone support #206

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kassane
Copy link

@kassane kassane commented Aug 26, 2023

Requested: #161
cc: @uNetworkingAB

@uNetworkingAB
Copy link
Contributor

This is too specific and too much of a hack for something that eventually will become part of std. I would much rather support the standard C++ networking and dump the asio support entirely, than add ifdefs to support old and strange version of asio.

@kassane
Copy link
Author

kassane commented Aug 27, 2023

I know WG21 doesn't consider sticking to the asio on std.

The only purpose of the standalone version is not to use boost libraries even header-only.

ASIO is no longer on the standards track.

WG21 is currently considering a proposed standard networking based on P2300 senders and receivers. It is early stage, and there will be zero compatibility with ASIO. - @ned14

Reference

https://www.reddit.com/r/cpp/comments/13op38r/how_to_write_networking_code_now_that_will_be/jl739wr/?utm_source=share&utm_medium=mweb3x&utm_name=mweb3xcss&utm_term=1&utm_content=share_button

@uNetworkingAB
Copy link
Contributor

Interesting, I see that they aren't getting along very well. But this really just strengthens my opinion on this - there are too many variants of ASIO and the only "famous" one is the Boost one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants