C++ basic setup for command window client server connections