connected_to_addr method