I have a C++ addon that communicates with a data server. This is called from JS (eg 'addon.write(data, ...)' ). The problem is everytime I jump to the C++ code, the C++ has to connect to the server all over again because as soon as I return to JS, I lose the previous state. Is there a way to connect once from C++ and have that connection maintained across multiples calls to the addon?
Submitted August 02, 2017 at 04:57PM by thegervais
No comments:
Post a Comment