Have the new C++ standards implemented a common way of handling sockets? In 2010 I know the standarization of threading was implemented in vs2k10 (C++0x later C++11). C++14 is knocking on the door.
I would hate to come back to still dealing with Winsock and regular Linux sockets. Compared to more modern languages, such as C# or java, they were also harder to use.
not in c++(20), yet...
But there has been movement in the last years. Technical specifications, Drafts, conference talks...
There‘s an article by Vinnie Falco ( developer of boost::beast and active c++ evangelist) on reddit
The Networking TS expected to be part of C++17 standard is based on Boost.ASIO, so for now u might want to use Boost.ASIO
Are sockets integrated into the c++ standard
No.
Sockets are a part of the Posix and Winsock standards, not the C or C++ standard.
NB 'Non-JIT languages' have nothing to do with it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With