开发者

How to pass data from php to a c++ desktop application using sockets?

开发者 https://www.devze.com 2023-03-26 16:58 出处:网络
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 t开发者_开发问答he firefox extension.

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 t开发者_开发问答he 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号