【正文】
..............................................................1 研究項(xiàng)目的目的以及意義 ......................................................................................................2 WINSOCKET 的尋址方式 .....................................................................................................22 系統(tǒng)需求分析 ............................................................................................................................2 系統(tǒng)設(shè)計(jì)目標(biāo) ..........................................................................................................................2 系統(tǒng)總體需求分析 ..................................................................................................................3 組織結(jié)構(gòu)的分析 ......................................................................................................................3 開發(fā)運(yùn)行環(huán)境 .................................................................................................................3 系統(tǒng)開發(fā)語言 .................................................................................................................43 理論知識 ....................................................................................................................................4 C/S 軟件架構(gòu)技術(shù) ...................................................................................................................4 用戶數(shù)據(jù)報(bào)協(xié)議(UDP) ..........................................................................................................4 單播、廣播、組播淺析 ..........................................................................................................54 系統(tǒng)設(shè)計(jì) ....................................................................................................................................5 文字聊天模塊的整體構(gòu)架 .....................................................................................................5 文件傳輸模塊的主要流程圖 .................................................................................................6 系統(tǒng)的主要功能模塊 ..............................................................................................................6 文字聊天的主登錄界面 .................................................................................................6 文字聊天信息的封裝 .....................................................................................................9 聊天信息的加鎖 ..........................................................................................................10 文件傳輸?shù)慕缑?...........................................................................................................12 用戶密封或加鎖傳輸文件 ...........................................................................................155 系統(tǒng)測試 ..................................................................................................................................17 測試環(huán)境 ................................................................................................................................17 測試結(jié)果 ................................................................................................................................17結(jié) 論 ..........................................................................................................................................17參考文獻(xiàn) ..........................................................................................................................................18致 謝 ..........................................................................................................................................19聲 明 ..........................................................................................................................................20第 1 頁 共 20 頁1 引言 課題背景當(dāng)時(shí)間走向 21 世紀(jì),當(dāng)今時(shí)代也由工業(yè)經(jīng)濟(jì)漸漸成為了知識經(jīng)濟(jì)、信息經(jīng)濟(jì)的時(shí)代。 Third, carries on the demand of the current local area work file transfer to analyze and propose the solution。 Second, introduces the TCP/IP point to point protocol technology。關(guān)鍵詞:聊天;傳輸;socket;飛鴿傳書;C/S 結(jié)構(gòu)Design and Implementation IP Messenger Based on LANAbstractThe work munication already do not calculate the new things now, but the majority work munication all need to be support by the server on the Inter, this make these user have the largescale internal work who many problems, such as waste work resources, be attacked by work, dissemination virus, destruction defense system and so on. Because the interconnection work munication facilities on the interior munication brought inconveniently for the enterprise, in order to facilitate internal munication between work user39。本設(shè)計(jì)以 C 編寫,能在 windows 2022//xp 等環(huán)境下運(yùn)行。本課題設(shè)計(jì)主要針對局域網(wǎng)通訊而開發(fā)設(shè)計(jì)的,采用的是 C/S 構(gòu)架,類似飛鴿傳書系統(tǒng),來實(shí)現(xiàn)聊天、文件傳輸功能,并借助一些網(wǎng)絡(luò)通訊組件,成功的實(shí)現(xiàn)了在局域網(wǎng)上的即時(shí)通訊。畢 業(yè) 設(shè) 計(jì) (論 文 )局域網(wǎng)飛鴿傳書軟件的設(shè)計(jì)與實(shí)現(xiàn)論文作者姓名:申請學(xué)位專業(yè):申請學(xué)位類別:指 導(dǎo) 教 師 姓 名 (職 稱 ):論文提交日期:局域網(wǎng)飛鴿傳書軟件的設(shè)計(jì)與實(shí)現(xiàn)摘 要網(wǎng)絡(luò)通訊在當(dāng)今已經(jīng)不算新鮮事物,但大多數(shù)網(wǎng)絡(luò)通訊都需要借助Inter 上的服務(wù)器,這就給那些具有大規(guī)模內(nèi)部網(wǎng)絡(luò)的用戶造成了許多問題,如浪費(fèi)網(wǎng)絡(luò)資源、遭遇到網(wǎng)絡(luò)攻擊、傳播的病毒、破壞防御系統(tǒng)等等。由于互連網(wǎng)上的網(wǎng)絡(luò)通訊工具給企業(yè)內(nèi)部信息交流帶來了不便,所以為了方便內(nèi)部網(wǎng)絡(luò)的用戶之間的溝通,需要開發(fā)一個(gè)基于局域網(wǎng)的信息收發(fā)系統(tǒng)的即時(shí)通訊工具,實(shí)現(xiàn)在內(nèi)部網(wǎng)絡(luò)中進(jìn)行信息的交流。本論文的目標(biāo)是設(shè)計(jì)一個(gè)類似飛鴿傳輸?shù)木钟蚓W(wǎng)通信軟件,并分析它在其領(lǐng)域的優(yōu)勢。設(shè)計(jì)共分為五大模塊,分別是:首先,介紹選題背景及意義和國內(nèi)外研究現(xiàn)狀;其次,介紹 TCP/IP 點(diǎn)對點(diǎn)協(xié)議技術(shù),C/S 架構(gòu)和 SOCKET 網(wǎng)絡(luò)編程技術(shù);再次,對當(dāng)前局域網(wǎng)文件傳輸進(jìn)行需求分析并提出解決方案;然后,根據(jù)解決方案對系統(tǒng)進(jìn)行設(shè)計(jì);最后,對工作計(jì)劃統(tǒng)計(jì)以及分析系統(tǒng)進(jìn)行測試并得到測試結(jié)果。s, needs to develop one based on the local of instant message area work information receiving and dispatching system instant message facilities, realizes carries on the information which work the exchange. This topic design mainly aims at the local area work munication to develop the design, uses is the C/S skeleton,like IP Messenger, for chat and files transmission.LAN against the text chat, documents and folders transmission, the design of a fake IP Messenger of LAN software, and analyze it in their areas of advantage. The design is developed by C program it can make in the vironment of windows 2022//xp of topic selection, in the environment The design altogether divides into five big modules, respectively is: First, introduction selected topic background and significance and domestic and