LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.
value = lp.atoip("ip");
Convert an IP address from character string format to long integer. (WARNING the conversion is performed in the BIG INDIAN mode- the IP value is read from left to right)
"ip" - A charactere string of an IP address (" xxx.xxx.xxx.xxx" ).
The IP address as a long integer or nil