Update socketpractice2/main.cpp