Need to have an Ionic mobile app connect to a Java Tomcat application server using TCP sockets. Have done the following:
Per the blocshop site (https://github.com/blocshop/sockets-for-cordova) directions installed the plugin with: cordova plugin add cz.blocshop.socketsforcordova
Added script src=“socket.js” below script src=“cordova.js” in the index.html file.
When run in a debug mode in WebStorm the construct var socket = new Socket(); results in the error: ReferenceError: Socket is not defined
Any assistance on how to get blocshop TCP sockets-for-cordova to work in an Ionic project is welcomed.