LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

lp.atoip - Convert an IP address from character string to a long integer

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 ("" ).

Return Values

The IP address as a long integer or nil