Qt application - node.js server communication

I want to create a desktop application (since it must be cross-platform, I decided to stick with Qt, and I am already familiar with it), which connects to the server. The application is similar to the concept of a chat application. I know that there are application servers, however at the moment I am familiar with web server platforms such as rails and am currently trying to execute node.js.

I wanted to know how to contact my application (Qt-based) to connect to the server, and the main question: how do I implement the server? After thinking about various options, including transferring the entire project to a web application, I decided that it is best to use the application to somehow connect to the node.js server, and it will serve html files that will contain the command for the application. Am I on the right track?

Could this (Qt-app and node.js connection to the server) be what I think? Is this the correct method?

+4
source share
1 answer

node.js . node.js (http://nodejs.org/api/net.html) . -, node.js, C/++, .

, , node.js, . pomelo, node.js.

http://www.toptal.com/nodejs/why-the-hell-would-i-use-node-js

+3

Source: https://habr.com/ru/post/1540327/


All Articles