General questions

Answered

Websocket stop responding after few seconds

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.


Best Answer

Hello Daoud!


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.

https://developer.myscript.com/docs/interactive-ink/1.4/web/iinkjs/get-started/#what-is-iinkjs


So you might consider giving it a try.

You can test the following online Text example that is based on WebSockets:


https://myscript.github.io/iinkJS/examples/v4/websocket_text_iink.html



Best regards


Gwenaëlle


1 Comment

Answer

Hello Daoud!


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.

https://developer.myscript.com/docs/interactive-ink/1.4/web/iinkjs/get-started/#what-is-iinkjs


So you might consider giving it a try.

You can test the following online Text example that is based on WebSockets:


https://myscript.github.io/iinkJS/examples/v4/websocket_text_iink.html



Best regards


Gwenaëlle