LazyPlanet
Results
3
issues of
LazyPlanet
想在C++调用lua的相关代码,lua里面调用了pbc的相关内容,使用了老板的test.lua作为测试: extern "C" { #include "lua.h" #include "lualib.h" #include "lauxlib.h" }; #include #include int main() { lua_State* __L = luaL_newstate(); luaL_openlibs(__L); int rst = luaL_dofile(__L, "./test.lua"); std::string value = lua_tostring(__L,...
如题,其实在很多时候不是客户端发送的数据请求,比如有几个用户连接,数据改变,服务器主动推送数据,这种情况下,需要如何扩展呢?多谢。
老板,试了吗