protected void OpenLuaSocket() { LuaConst.openLuaSocket = true; luaState.BeginPreLoad(); luaState.RegFunction("socket.core", LuaOpen_Socket_Core); luaState.RegFunction("mime.core", LuaOpen_Mime_Core); luaState.EndPreLoad(); }