lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


 
Hi,

In my project requirement there is a lua wrapper function which is
function pointer and takes any C function name and its parameters as
input and execute that C function.
Ex:- vxDo("functionname","memStats","murthy",1,2)

its works fine for strings,integers as function parameters as mentioned
above.However if we pass IP address ie for example "169.254.0.4" as
input then its takes as integer and reads only first element 169 and
system hangs.ex:-vxDo("functionname","169.254.0.4","memStats",1,2)

It will be gratefull if somebody throws some light on how to parse the
whole IP address in lua.


Thanks & Regards,
Adimurthy

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com