I am currently exploring myscript architecture and capabilities. I acquired free api key from myscript. I am developing sample application on myscript. But socket stop responding after few seconds. I tried different type of commands. I tried ping message on socket. But socket is not sending response to that message.
Thank you for your question.
Without further information about the messages exchange sequence , it is quite difficult to understand what is going on.
Also, please note that the integration of handwriting recognition and interactive ink is made easier by using the iinkJS library.
So you might consider giving it a try.
You can test the following online Text example that is based on WebSockets: