Microsoft Interview Question

Design an IP address parser