CodePudding user response:
Lua calls CPPBy the method of CPP methods are bound to the lua, to extend the lua method library, through the study of the pressure elastic stack of the lua virtual machine, to realize the parameters of the transmission and communication,
(in general, you use the framework should be able to provide a method of binding script, not according to the case of online writing your own)
CPP call lua
Executes the lua code directly in the virtual machine is ok,
CodePudding user response:
The js send packets to send up to look at it