IP a.b.c.d => convert to 32-bit int => d + (c * 256) + (b * 256 * 256) + (a * 256 * 256 *256) ----------------------- = 32-bit representation of IP Address.