Choose a suitable socket when updating a node's UDP address.