摘 要:局域网即时聊天通过进行文本聊天来实现彼此沟通、交流信息。本次局域网即时聊天程序设计主要用了Visual C++编程环境,实现了在LAN中在线用户的文本。
在设计里涉及到了网络通信基本原理和Socket编程API技术。由程序是在TCP/IP环境下运行,所以分服务器端和客户端。服务器端和客户端是通过建立Socket链接来实现聊天功能。
本次设计主要着重于文本聊天部分,在本次论文里主要以文本聊天的流程和各模块之间的关系及Socket处理为主说明。
关键字:Visual C++编程环境 网络通信基本原理 Socket编程 API
Instant messaging system
Abstract:The local area network chats immediately through carries on the text to chat with the pronunciation chats realizes each other communication, the exchange information. This local area network chatted the programming mainly to use Visual immediately the C++ programming environment, has realized in LAN the on-line user's text the pronunciation interactiveInvolved in the design to the network correspondence basic principle and the socket programming and the pronunciation processes the API technology. Because the procedure is in TCP Under the IP environment moves, therefore divides the server end and the client side. The server end and the client side are through establishes Socket to link realizes chats the function.This design mainly emphatically chats in the pronunciation the part, mainly between the flow and various modules relations and the socket processing which chats by the pronunciation primarily explained in this paper.
Keywords: Visual C++ programming environment network communication fundamentals Socket programming API.