I am writing a firefox extension making use of XUL and javascript. I need to send data to a c++ desktop application on click of the firefox extension.
So I call for a php page from javascript. My idea is to use sockets to communicate to c++ desktop application.I have tried implementing the php sockets code available at the php tutorials but did not get the way to do this communication(from php to c++)
Please suggest ways/code to do this.