IP Addresses to number (Integer) and reverse

Also see http://dev.mysql.com/doc/mysql/en/Miscellaneous_functions.html

Given the dotted-quad representation of a network address as a string, returns an integer that represents the numeric value of the address. Addresses may be 4- or 8-byte addresses. INET_ATON(expr) Given the dotted-quad representation of a network address as a string, returns an integer that represents the numeric value of the […]