论文部分内容阅读
该文基于对等网络(P2P)设计了一种即时通信系统,该系统采用基于中心服务器的中心化拓扑结构,利用SOCKET编程实现。与传统的C/S模式相比,该模式大大弱化了服务器的作用,服务器只是为维护用户列表,用户之间的通信完全是点对点的,不需要经过服务器中转,从而能够承载更多的用户,大大提高了网络效率。
This paper designs a real-time communication system based on peer-to-peer network (P2P). The system uses a central server-based topology and uses SOCKET programming. Compared with the traditional C / S mode, this mode greatly weakened the role of the server, the server just to maintain the user list, the communication between users is completely point to point, without going through the server transit, which can carry more users, Greatly improve the network efficiency.