Jump to content

Recommended Posts

Posted

Hi all,

 

Does LuaExportStart() work the same in A-10 as BS? Here's what I have for BS:

 

 
function LuaExportStart()
   dofile("./LuaSocket/Socket.lua")
   socket = require("socket")
   host = "127.0.0.1"
   port = 14000
   client = socket.try(socket.connect(host, port)) 
   client:setoption("tcp-nodelay",true) -- set immediate transmission mode
   client:settimeout(.01)
   socket.try(client:send("/*$")) -- all boards run normal
end

 

Thanks,

Colin

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...