Home > Back-end >  Novice asked: C builder to LAN database problems
Novice asked: C builder to LAN database problems

Time:10-13

I novice, want to make up a small software, there is a server program, a client, the server to store database data, the communication between them and ServerSocket ClientSocket, but found that the means of communication seems only ServerSocket - & gt; The Socket - & gt; SendText (), for example, I landed in the client, the user name and password through the ClientSocket - & gt; The Socket - & gt; SendText () to the server, the server in your own database query identified users, and return the information, the client login successful,

The problem:
1. How to do authentication, that is, if you have a lot of users log in to the server, at the same time to query information from the server, the server is how to identify what stage the client by the query? How can do it only for the client back to the information?

2, if the software function is relatively complex, need to transfer a lot of information is very miscellaneous, only SendText () seemed very complex is very complicated, how can you simplify?
  • Related