Cordova plugin for socket network communication