Answer the question
In order to leave comments, you need to log in
C++ network. How to work with network in C++?
Goodnight! I'm new to C++, so I'm actively learning it, but there is not a word about networking in the books. I know that there are libraries ACE, POCO, BOOST (googled), but I don’t know anything about them anymore.
Can anyone briefly talk about all the ways to work with the network in C ++ (or at least the most popular ones)? And, if possible, methods without using third-party libraries (only standard ones). Interested in both HTTP and Client-Server. And if there are also books on this topic, then it would be ideal.
Answer the question
In order to leave comments, you need to log in
To work with the network (today, the network is almost only called TCP / IP), such a completely abstraction as sockets (in the program code) is used.
You can take a look here: Network Programming in Linux .
As for HTTP ... that's a completely different story - you need to first deal with the layers of the network model, the network stack. HTTP is an application layer protocol. In C++, nothing is specifically needed for an application-level protocol; this is no longer directly related to network programming.
I know that there are libraries ACE, POCO, BOOST (googled), but I don’t know anything about them anymore.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question