Answer the question
In order to leave comments, you need to log in
What to use in C++(Qt,Boost) for a simple data warehouse server application?
There is a learning problem. There is a client application on Qt (viewing and editing the directory (add delete record), record - 2 QString strings enclosed in a custom data type).
It is necessary to make a module on the client side that works with the network (it will access the server application and transfer one / several records there to delete / add them by value / object and receive an array of all currently existing records).
And most importantly, the server application that receives messages stores all records in, roughly speaking, in an array (that is, it is not necessary to use a file or a database, so far everything is virtual in runtime). Can add/remove and issue all records back to the client. Should check whether it can remove / add and in which case inform the client about it.
Tell me in which direction to dig (boost libraries, qt classes), and in a nutshell how it will look like using this.
I've seen examples/lessons of this somewhere. there it was done on a simple socket and worked as with a file and everything was done manually. But I don't want to analyze just a socket message myself and invent another cycle of working with a socket in order to receive the necessary objects.
MB there is already a solution and someone will tell me it.
You don't need to write everything down. In principle, it is enough to specify which libraries / classes to look at and a couple of words where / how they should be filed into my applications.
Answer the question
In order to leave comments, you need to log in
cpp-netlib.org or doc.qt.io/qt-5/qnetworkrequest.html
if you need HTTP
Boost::Asio if you don't need HTTP
Berkeley Sockets is still in vogue if you're not afraid of C-style
Buffers via streams if the protocol is complex enough or needs to be extended.
GET/POST requests for receiving/sending data to the server. No libraries are needed, in principle, everything can be done even using WinAPI.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question