Now does ping and connects to socket.