With the prevalent of open source code and the government' s great attention to the copyright of software, the middle-sized and small enterprises will face two choices:Whether to continue to use the information system of enterprise management based on Microsoft (including CRM, ERP etc.) and pay a lot of money for it;or to use the information system of enterprise management based on Linux/FreeBSD, whose features are that the expense is cheap, the performance is stable and the security is good, but the technical requirements of development and maintenance are high. Because most middle-sized and small enterprises have limited funds for information' s construction, it means bearing great financial burden for them to take the first choice. But the workable solutions to enterprises' application based on Linux/FreeBSD are not sufficient. Many corporations are biding their time. They are waiting for some solutions for reference.This article advances one workable solution to the common requirements of most middle-sized and small enterprises. It uses C language to devise and achieve the program in server based on FreeBSD. The whole program uses client/server mode .By using front-end server between the Web server and back-end server, the solution becomes more stable and safe. Using share memory to accomplish the interprocess communication can enhance the response rate of client' s data. The self-defined header of protocol is added to all communications between the servers, which enhances the safety. |