基于C++的局域网聊天室的设计与实现
摘要:随着网络信息技术的飞速发展,网络在给我们带来高效、便捷的上网体验的同时,信息安全问题却时有发生,尤其是在即时通讯方面,如何保证通信内容的安全性始终是人们关注的一个热点问题。本文在充分调研当前各类即时通讯系统基础上,认真梳理并分析其优缺点,主要研究如何在局域网下实现支持多用户的安全便捷的即时通讯问题。文章以传统软件工程设计方法为基础,结合程序设计基础及网络数据传输技术,采用C/S架构设计实现了一套适用于中小规模网络环境下使用的局域网聊天室系统,系统操作便捷,具备稳定的运行性能和良好的扩展性,经实际测试用户反应良好。
关键词:c++;局域网;聊天室;即时通讯;用户数据包协议;传输控制协议
Design and Implementation of LAN Chat Room
Based on C++
Student: MingFengChen(Faculty Adviser:Lei Liu)
(Internet of Things Engineering, Huainan Normal University)
Abstract:In today's increasingly serious information security problems, we have designed a LAN chat room system based on C++ for the purpose of safely solving the internal communication and communication problems within the enterprise. This article focuses on how to implement secure and convenient instant messaging problems that support multiple users under the LAN. Based on the traditional software engineering design method, combined with the basics of program design and network data transmission technology, the C/S architecture design is used to implement a local area network chat room system suitable for small and medium-sized networks. The system is easy to operate and has stable operation. Performance and good extensibility, users respond well through actual testing.
Keywords: C Puls Plus; Lan;ChatRoom;UDP;TCP