Are sockets integrated into the C ++ standard?

Do the new C ++ standards have a common way to handle sockets? In 2010, I know that stream standardization was implemented in vs2k10 (C ++ 0x later than C ++ 11). C ++ 14 knocks on the door.

I would love to get back to working with Winsock and regular Linux sockets. Compared to more modern languages ​​like C # or java, they were also harder to use.

+8
c ++ sockets
source share
2 answers

Sockets are integrated into the C ++ standard

Not.

Sockets are part of the Posix and Winsock standards, not C or C ++.

NB "Non-JIT languages" have nothing to do with this.

+9
source share

Network TSs, which are expected to be part of the C ++ 17 standard, are based on Boost.ASIO, so for now you can use Boost.ASIO

+6
source share

All Articles