Concrete structure as shown in figure, a chat room adopts client/server (C/S) mode, the server is running with notebook service software, realize the notepad file save, search, and other functions, the server can use multithreading mechanisms for multiple users services; The client to provide the basic registration, write notepad, upload the notepad, browse the notepad, and other functions, to communicate between the client and the server, can use the Socket communication mechanism, the client needs to implement the basic function of needed for users to use notepad, including user registration, notepad read list, notebook entry selection, notepad entries, notepad upload server save, etc., when the system error, system needs to have a simple program error function, such as: failed to initialize, network inaccessible,
Applications: the user by the client to register a account, and log in, the client creates a notepad, and enter the content, after completion of content can be saved to the server, the user logged out, next time log in, can search, edit, delete the last saved notepad,
CodePudding user response:
Like this can give a train of thought, I'm slowly learning, 1. Written in C and a notepad software can add and delete2. Build server on Linux
3. How the user register, login, connect to the server
CodePudding user response:
The