The TCP socket connection made by Chrome apps doesn't connect to the EyeTribe Server successfully. I have tried both a WebSocket connection (using a simple page) and using the Chrome API, chrome.sockets.tcp, by way of creating a chrome app, requesting permission for socket access, and using the API to create and then connect the socket to 127.0.0.1:6555. Neither work.
When I create the WebSocket, and point it at 127.0.0.1:6555, the lights on the EyeTribe turn on, like something is about to happen, but the WebSocket never successfully establishes a connection with the Server.
When I create a chrome.sockets.tcp socket and connect to 127.0.0.1:6555, I get different results. I can create and connect the the socket. I can then send a message but nothing happens.
I am not sure what to do to get this to work in Chromeapps. But it appears to be close. Is it possible that you might work with me to get the code to work?