Network Programming : homework3 combine part1 and part2 in winsock