W
W
webrapist2016-03-23 15:36:21
Programming
webrapist, 2016-03-23 15:36:21

What literature can you recommend for learning network programming in C++?

Started learning C++. At the same time I want to study programming in networks. There is a great desire to write some elementary chat and, of course, to fully understand what works and how.
In C++, I'm still a total noob. I went through only control statements, arrays, a few classes with objects. (The Book of Data. Stopped at the 7th chapter).
What literature can you recommend on this? It is desirable that everything is chewed.
Even if there is still very little knowledge in the pros, you still want to "dig deeper" in working with the network, well, it really pulls!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
asd111, 2016-03-24
@asd111

In C++, networking is usually implemented through the boost.asio library.
Here is a small set of lessons. The lesson starts with compiling boost, but this is an extra step - it's better to take the already compiled version.
https://habrahabr.ru/post/192284/
If you want to learn the basics, such as working with sockets, you can take any lesson from google on working with sockets in C ++, at the same time compare how much more convenient boost.asio is.
You can look at this article for beginners, though there is python https://habrahabr.ru/post/149077/
I advise you to program in C ++ under windows in the visual studio 2015 community (free full version). boost is better to download in compiled form from the link below. Download two installers with the inscription msvc 14 one 64 and one 32, although if you write only x64, you can limit yourself to the 64-bit version.
https://sourceforge.net/projects/boost/files/boost...

D
denizen, 2016-03-23
@denizen

Classic is always in fashion. I advise you to read W.R. Stevens "Development of network applications".
But with your baggage of knowledge it will be difficult to study it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question