I'm not sure if this is a direct question relating to c++ but it could be,anyway how do networking protocols work and mainly are these protocols written in a programming language like c++ or c?
I checked google and could not get a answer that's why I'm asking here Joe I've probably been around this forum longer than you no need to be act smart.
I'm sure what Joe meant is there are books with thousands of pages just to cover that subject.
There are multiple networking protocols, the most popular and one your probably using is TCPIP.
There is no way to tell you how it all works without a few hours typing, so I agree, get a book or look it up on google.
To answer your last question, yes they are mainly written in C.