Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap UDP sockets?

Is there, by any chance, possible to setup UDP sockets for a Phonegap app? By any available plugin or such? It has to be compatible with Android and iPhone.

I know TCP are available through Web Sockets, but I need UDP for an app I'm developing (due its speed).

Thanks in advance.

like image 693
Eric Avatar asked Oct 22 '22 12:10

Eric


1 Answers

Does this maybe work? I'm looking into this issue almost two years after OP but I found chrome's cordova UDP plugin. Don't know anything about it but figured it might help.

https://github.com/MobileChromeApps/cordova-plugin-chrome-apps-sockets-udp

It's also NPM compatible...don't know if that matters but https://www.npmjs.com/package/cordova-plugin-chrome-apps-sockets-udp

like image 191
YashdalfTheGray Avatar answered Oct 24 '22 05:10

YashdalfTheGray