国产精品婷婷久久久久久,国产精品美女久久久浪潮av,草草国产,人妻精品久久无码专区精东影业

畢業(yè)論文-基于udp的局域網(wǎng)聊天系統(tǒng).doc

約41頁DOC格式手機(jī)打開展開

畢業(yè)論文-基于udp的局域網(wǎng)聊天系統(tǒng),畢業(yè)論文-基于udp的局域網(wǎng)聊天系統(tǒng)摘 要隨著網(wǎng)絡(luò)技術(shù)的發(fā)展及人們生活的需求,網(wǎng)絡(luò)聊天已越來越受到人們的青睞 。網(wǎng)絡(luò)聊天已經(jīng)成為人們工作生活中傳遞信息、交流感情的重要工具,給人們帶來了很大的方便。本課題是開發(fā)一個(gè)基于udp的局域網(wǎng)聊天系統(tǒng),運(yùn)用軟件工程的設(shè)計(jì)流程,綜合運(yùn)用數(shù)據(jù)庫(kù)編程技術(shù)、windows程序設(shè)計(jì)技術(shù)、網(wǎng)絡(luò)...
編號(hào):45-138306大小:419.00K
分類: 論文>計(jì)算機(jī)論文

內(nèi)容介紹

此文檔由會(huì)員 antilogy 發(fā)布

畢業(yè)論文-基于UDP的局域網(wǎng)聊天系統(tǒng)


摘 要
隨著網(wǎng)絡(luò)技術(shù)的發(fā)展及人們生活的需求,網(wǎng)絡(luò)聊天已越來越受到人們的青睞 。網(wǎng)絡(luò)聊天已經(jīng)成為人們工作生活中傳遞信息、交流感情的重要工具,給人們帶來了很大的方便。
本課題是開發(fā)一個(gè)基于UDP的局域網(wǎng)聊天系統(tǒng),運(yùn)用軟件工程的設(shè)計(jì)流程,綜合運(yùn)用數(shù)據(jù)庫(kù)編程技術(shù)、Windows程序設(shè)計(jì)技術(shù)、網(wǎng)絡(luò)通訊技術(shù),以Visual C++ 6.0作為系統(tǒng)前臺(tái)應(yīng)用程序開發(fā)工具,MySQL和Berkeley DB作為后臺(tái)數(shù)據(jù)庫(kù)管理系統(tǒng),通過MySQL自帶的API使兩者進(jìn)行連接從而進(jìn)行軟件開發(fā)。此網(wǎng)絡(luò)聊天工具采用客戶端/服務(wù)器(C/S)模式,客戶端采用UDP與服務(wù)器連接,客戶端與客戶端之間通過UDP互相通訊。服務(wù)器端具有服務(wù)器端口設(shè)置,維護(hù)客戶端個(gè)人信息,記錄客戶端狀態(tài),分配賬號(hào)等功能;客戶端具有服務(wù)器地址及端口設(shè)置,用戶注冊(cè),用戶登陸,添加好友和刪除好友,查看好友信息,給好友發(fā)送消息,簡(jiǎn)單文件傳輸?shù)裙δ?。適用于局域網(wǎng)使用的網(wǎng)絡(luò)聊天工具,其操作簡(jiǎn)單,靈活性好,運(yùn)行也比較穩(wěn)定。

關(guān)鍵詞:網(wǎng)絡(luò)通訊;客戶端/服務(wù)器模型;用戶數(shù)據(jù)報(bào)協(xié)議;套接字
 
ABSTRACT
With the development of networking technology and the living demand of people. chatting on network is more and more acceptable by people. Internet chat has become an important tool to transmission of information and exchange of feelings in our life, it brings a great convenience.
This topic is going to talk about that to develop the local area network chat system which based on UDP. This local area network chat system using the design stream of the software project, the technology of the database programming, Windows program designing technique and the network communication technology, makes Visual C++6.0 as the front application design tool, MySQL and Berkeley DB are used as the background DBMS( the database management system ), The two of them being connected by API which is embedded in MySQL to develop the software. This network chat tool adopts client/server mechanism(C/S) and the client connect the server using UDP, and they communicate each other by UDP. The server has the ability setting the port of the server, maintenance the clients’ personal information, recording the clients’ status, distributing account numbers and so on; The client have the ability setting the IP address and port of the server, user register, user login, adding friends and deleting friends, finding and looking the user’s information, sending message to friends, simple file translation, timing noting ,timing shutting the computer and so on. It adapts to use the network chatting tool in local internet, it’s operation is simple , the flexibility is good and movement is also stable.


KEY WORDS: network communication, client/server mechanism, UDP, SOCKET

 
目  錄
第1章 緒 論 1
1.1 項(xiàng)目背景 1
1.2 局域網(wǎng)聊天系統(tǒng)的意義及特點(diǎn) 1
第2章 需求分析 3
2.1 功能需求 3
2.2 數(shù)據(jù)流 5
2.3 性能需求 6
第3章 系統(tǒng)總體設(shè)計(jì) 7
3.1 相關(guān)開發(fā)技術(shù)的原理性說明 7
3.1.1 UDP協(xié)議介紹 7
3.1.2 Socket介紹 7
3.1.3客戶/服務(wù)器程序的介紹 12
3.2 開發(fā)環(huán)境的選擇 13
3.2.1  系統(tǒng)開發(fā)工具的選擇 13
3.2.2 數(shù)據(jù)庫(kù)系統(tǒng)的選擇 13
3.3 技術(shù)選取及搭配 15
3.4 數(shù)據(jù)庫(kù)的設(shè)計(jì) 15
第4章 系統(tǒng)詳細(xì)設(shè)計(jì)及實(shí)現(xiàn) 18
4.1服務(wù)器端的設(shè)計(jì) 18
4.1.1服務(wù)器端的構(gòu)成 19
4.1.2服務(wù)器端的主要功能實(shí)現(xiàn) 20
4.2客戶端的設(shè)計(jì) 27
4.3 界面庫(kù)的實(shí)現(xiàn) 32
第5章 結(jié)論與展望 36
致 謝 37
參 考 文 獻(xiàn) 38