I am trying to open a TCP socket to a peripheral device from within RhoElements, send a message to the device and then close the socket. I have tried using HTML5 with WebSockets, however it looks like the device does not support WebSockets, only TCP sockets.
Is there a way to open a TCP socket using HTML5 with RhoElements?
Naftali
Hi,
WebSockets are supported in RhoElements and the technology sits above a single TCP socket. Which peripheral device are you trying to connect to?
Points: 0
You voted ‘up’
The device is an APG Ethernet Cash drawer.
Points: 0
You voted ‘up’
My guess would be the cash drawer doesn't support WebSockets, if you want to communicate to external hardware I'd suggest writing an NPAPI plugin for RhoElements.
Points: 0
You voted ‘up’