recover test_socket.cc