Socket API or library for C++?

Here I’m attempting to answer some of your specific, factual questions to which I have something to contribute. Yes, you can use any C socket library in C++. If it doesn’t work out-of-the-box because the linker reports an undefined reference for the library functions you want to use, then can fix it by editing the .h file(s) of the … Read more

C++ network programming

To understand sockets and use them right, you need The Sockets Bible: W. Richard Stevens, Unix Network Programming, Volume 1: The Sockets Networking API (3rd Edition) You absolutely must have this book before you sit down to write a line of sockets code. Don’t leave home without it. Really. Starting around $35 used at Amazon. EDIT: The OP asked about … Read more