Simple demo of C++ sockets