检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张玉 贾遂民 郑桂萍 Zhang Yu;Jia Suimin;Zheng Guiping(College of Information Science&Technology,Zhengzhou Normal University,Zhengzhou,Henan 450044,China)
机构地区:[1]郑州师范学院信息科学与技术学院,河南郑州450044
出 处:《计算机时代》2022年第12期93-95,共3页Computer Era
基 金:河南省本科高校青年骨干教师培养计划项目(项目编号:2021GGJS170)。
摘 要:基于C/S架构通过进程间流式Socket通信实现了网络聊天系统,完成了客户端的用户注册与登录、好友管理、多人聊天等功能,将数据流通过Socket连接传输到服务器端处理。通过消息的封装与传送、服务器端对不同类型消息的处理机制,以及网络通讯协议实现了信息的传递机制,在界面层、消息传输层、数据存储层等方面进行了详细的规划设计,开发了简单灵活的网络聊天系统。A web chat system is implemented based on C/S architecture through inter-process streaming Socket communication.On the client side,it completes the functions of user registration and login,buddy management,multiplayer chat,and transmits the data stream to the server side for processing through Socket connection.The message delivery mechanism is realized through message encapsulation and transmission,server-side processing mechanism for different types of messages,and network communication protocols.Detailed planning and design are carried out in the interface layer,message transmission layer,and data storage layer,and then a simple and flexible network chat system is realized.
关 键 词:进程通信 SOCKET 客户端/服务器 通讯协议
分 类 号:TP393[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15