What I'm trying to do is create and establish a connection with the built-in Wi-Fi device (as well as with the arduino board), which has no frills at all. It basically accepts a socket and listens for information and responds.
I fully use PhoneGap to make the application compatible with other devices.
I planned to try and make TCP sockets using a javascript plug-in, however, all the plug-ins that I need require server-side scripts (in this case, this is not possible). I can always install a gateway between Android and iOS devices, but it seems inefficient if I can just create a socket for the browser.
So my question is: does anyone know of a javascript plugin that can create TCP sockets without server-side scripting?
If not, do you think that I will be able to create a plug-in for PhoneGap that calls the SocketHandler native code?
Actually, do they already have a plugin that will allow you to use your own TCP sockets through javascript?
I hope my questions make sense. Basically looking for a way to send small consecutive messages over TCP / IP through a web browser on a mobile device.
Does anyone know this?
source share