Is it possible to convert the following
local socket,err,Database = "","",""
if num==1 then
Database = "RIPE"
socket, err = connect("whois.ripe.net", 43)
elseif num==2 then
Database = "ARIN"
socket, err = connect("whois.arin.net", 43)
elseif num==3 then
Database = "NIC"
socket, err = connect("whois.nic.br", 43)
elseif num==4 then
Database = "APNIC"
socket, err = connect("whois.apnic.net", 43)
end
The connect dont seem to work in LUA5... it's from chillas L.I.S script.
The new PtokaX doesn't have LuaSockets intergated...
You need a plugin... So why not make this a request for it...
Someone that can compile the LuaSocket so it works for PtokaX or fix so it works...
plop mate, someone....
Dammit - i were just looking for this function .. consider this a formal request