摘要
讨论了客户机/服务器程序的设计方法,利用面向对象的编程方法,进行了整个系统的设计。设计了服务器端处理用户请求算法、服务器端的底层通讯类、客户机/服务器之间的通讯数据类,服务器端分配用户帐号的策略等。该系统实现了TCP/IP网络的即时消息传送、消息广播、实时聊天、文件传输等功能。
This article briefly discusses client/server program design method, using technology, and presents overall system design. It introduces the server-side managed user request arithmetic, basic server communication class, communicate between client and server data class, server-side assign user account strategy, etc. It implements TCP/IP network real time message transmission, message broadcasting, real time chatting and file transmission functions.
出处
《交通科技与经济》
2008年第2期77-78,共2页
Technology & Economy in Areas of Communications