Home > OS >  Linux environment, to implement a network notepad software.
Linux environment, to implement a network notepad software.

Time:09-24

Need in the Linux environment, to implement a network notepad software,

Concrete structure as shown in figure,


Server is running notebook service software, realize the notepad file, find the delete function such as add,

The server can use multithreading mechanisms for multiple users services;

The client provide basic registration, user-oriented write notepad, upload the notepad, browse the notepad, and other functions,

Communication between the client and the server, can use the Socket communication mechanism,

Client needs to realize the basic function of needed for users to use notepad, including user registration, login, notepad read list, notebook entry selection, notepad entries, preservation, such as notepad upload server

When the system error, the system needs to have a simple program error function, such as: failed to initialize, such as 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,

The design requirements
Complete basic functions, including system architecture, the server software and client software (read list of user registration and login, notepad, notebook entries, notepad entries, notepad upload server save);

Write a Shell script to check the current server occupies system resources;

With the help of client/server Socket communication mechanism, data transmission;

Using C language implementation in the Linux environment, two virtual machine can be used respectively to simulate the client and server, multiple processes can be used simulate multiple users;
  • Related