Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
If I run a html5-based application on an Android Device, and a c++-based MFC application on the computer, are they able to exchange data with each other through SOCKET while one is Websocket and the other is CSocket?

What I have tried:

I've searched for the answer but I still cannot find them. If the answer would be yes then I will learn to make it.
Posted
Updated 30-Aug-16 23:14pm
Comments
Philippe Mori 23-Aug-16 22:26pm    
Probably, but it is somewhat unusual as a HTML5 based application would generally communicate with a web server...

1 solution

Web socket seems to a good option to work with in you situation. There are many C++ web socket libraries which you can use, I have used POCO websocket(Class Poco::Net::WebSocket[^]) which worked out fine.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900