i see. i give you so much respect for thinking about doin this in c++ since many ppl go with easier alternatives to do that (such as python) not that thats bad, but you learn soo many more concepts from doing it in c++.
u shd start with learning c++ socket programming. ill upload a great pdf for that asap if u wish.