ip string parsing question