socket c++ code not functional yet