The case is quite straight forward (in my mind). The client has a native application running on his machine that produces pairs of values. What I am trying to accomplish is when this service is running and the user visits my web service I want to be able to retrieve these pairs of values with JavaScript code on the clients browser. I haven't decided because I am not sure what kind of server should create the pairs or how to grap them with JS. I have tried using pubnub to setup a channel of communication but the round trips are kind of slow. Any suggestions?
You could access a local http server (LAMP / WAMP) for AJAX calls with javascript via the 127.0.0.1
or localhost
addresses.