Beej's guide to Network Programming is absolutely resounding. Used it at University.
http://beej.us/guide/bgnet/
It covers the Sockets API and I remember it using C++ for the code examples.
Also Computer Networks by Tannenbaum is an excellent read too.