send ip address with newline