INET_ATON(expr) : INET_ATON : Miscellaneous Functions MySQL TUTORIALS


MySQL TUTORIALS » Miscellaneous Functions » INET_ATON »

 

INET_ATON(expr)


The generated number is always in network byte order.

The number is calculated as 68*256^3 + 207*256^2 + 224*256 + 40.

mysql>
mysql> SELECT INET_ATON('68.207.224.40');
+----------------------------+
| INET_ATON('68.207.224.40') |
+----------------------------+
|                 1154474024 |
+----------------------------+
row in set (0.00 sec)

mysql>
mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Miscellaneous Functions
» INET_ATON