- 1、本文档共34页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于socket的聊天程序设计
摘要
无论是Windows还是Linux,网络通信的协议已经成为组成互联网的关键,硬件方面的路由交换协议:rip,ospf,eigrp,bgp,isis,stp,rstp,vtp等,软件方面特别是传输层上的:TCP/IP,UDP,应用层上的FTP,HTTP,TELNET,DNS,DHCP等。这些都成了网络稳定通信的保证,但从某种意义上讲,网络本身是不稳定的,我们只是努力让其稳定。
即时通讯软件(IM),就是基于系统的消息交换机制,它在很大程度上方便了我们的交流,本系统是基于C/S模式,消息转发,语音,视频交互的简易局域网聊天工具,本身具有很强的扩展性,从98年到现在IM软件的发展是各个巨头的合作与统筹的结果。
本文是在线聊天室系统的开发说明,重点运用软件工程知识对系统进行分析、设计实现和测试的思想的具体描述,其中包括软件定义,软件开发和运行的维护这三个方面。整个系统分为客户端和服务端两大端,客户端既可以实现局域网的文字聊天也可以实现点对点的语音和远程控制服务,目的是使软件的扩展性得到发挥,使软件满足广大客户的需求。
关键词:IM,API,SOCKET,C/S,网络协议
Communication?Software Design
Based on?WinSocket
Abstract:Either Windows or Linux, network communication protocols has become a key component of the Internet, hardware, routing exchange protocol: rip, ospf, eigrp, bgp, isis, stp, rstp, vtp, etc., software in particular on the transport layer:?TCP / IP, UDP, application layer FTP, HTTP, TELNET, DNS, DHCP and so on.?The stability of communication networks have become a guarantee, but from some sense, the network itself is unstable, we just try to make them stable.
Instant messenger (IM), is based on the system message exchange mechanism, it is largely to facilitate our communication, the system is based on the C / S mode, message forwarding, voice, video, interactive simple LAN chat tool itself?highly scalable, from 98 years to the present development of IM software giant is all the result of cooperation and co-ordination.?
This article is?the development of?online chat room?that?focus on?using softwareengineering knowledge?of the system?analysis, design,?implement and test?the specific description of?the idea, including?software-defined, software development and?maintenance of?these three areas?is running.?The whole system?is divided intotwo main?:client and?server, the client?can either?text?chat?in LAN?and?also?point to point voice?and remote?control service?is intended to enable?the expansion?of?the softwareinto full play,?to make the software?to content our customers?Needs.
Key words: IM, API, SOCKET,
文档评论(0)