Home > Mobile >  QT multi-user client and server communication patterns
QT multi-user client and server communication patterns

Time:09-19

I am currently doing an employee working hours to register input system, the database is an EXCEL file, on the internal public offer,
The client in all employees on the local computer, all employees in their own local computer login interface, input your own working hours,
And then update into public disk database excel file, and is more than a client may write to the database on the server system at the same time,
I am a novice QT, on how to set the framework and the fuzzy point,,, ask Daniel

I was wondering if I should use TCP/IP TcpServer, TcpSocket to do the QT software?
The client software on the local employees, the server software on public drive?

The client main implementation:
Tcpsocket write function, through the QT tablewidegt input of working hours, and then constructed a certain data structure keys to send, write write sent to the server,

The server-side implementation:
For each link in the management of the waiting for sorting of the socket, first to the first operation of the EXCEL database, update the data, the answer to the client,

Excuse me, do you? Thank you!

CodePudding user response:

As you can think of now just do it, there is a problem to optimize improvement
  •  Tags:  
  • Qt
  • Related