【正文】
I 基于 P2P 架構的簡單聊天程序的設計與實現(xiàn) 摘 要 在當今網(wǎng)絡風行的社會里,上網(wǎng)成為越來越多人們的選擇。隨著互聯(lián) 網(wǎng)的飛速發(fā)展,有關網(wǎng)絡的技術也層出不窮?,F(xiàn)今活躍在 WEB 站點中的 就是近年才發(fā)展起來的一項新型技術。 功能強大、本領高強,利用 功能時幾乎沒有什么限制,可以實現(xiàn)動態(tài)頁面。畢業(yè)設計我嘗試用 來實現(xiàn)聊天工具的開發(fā),于是就有了下面的 ChatRoom。 本 論 文研究了一種基于 P2P架構的聊天程序的設計與實現(xiàn) 。其開發(fā)主要包括后臺數(shù)據(jù)庫的建立 、 后臺管理以及前臺 頁面的 Web設計。 系統(tǒng) 使用 Microsoft公司 以 C為核心語言的 , 結合 SQL Server 2021建立數(shù)據(jù)連接關系。利用其提供的各種組件,在短時間內(nèi)建立數(shù)據(jù)庫,對數(shù)據(jù)庫進行分析與建立 ,不斷改進,直到功能基本實現(xiàn)的可行系統(tǒng)。 關鍵詞 聊天程序;數(shù)據(jù)庫;對象; C; SQL Server 2021 II Design And Implementation Of A Simple Chat Program Based On P2P Architecture Abstract The Inter bee more and more people39。s choices in today39。s work society. With the rapid development of Inter, work technology are endless. Active in the web site is only in recent years developed a new technology of the day. There is little restriction in the use of features, can achieve a dynamic page. So there is the following ChatRoom. This paper based on P2P architecture chat program of design and implementation. Its development mainly include the establishment of the database, background management and the front desk page Web design. Use Microsoft pany with C system as the core of language development tools, bined with SQL Server 2021 establish data connection relationship. Use the various ponents, in a short time, the establishment of database of database, the analysis and establish page, improving continuously, until the realization of basic functions feasible system. Keywords Chat rooms; Database; Object; C ; The SQL Server 2021 III 目 錄 第一章 緒論 ....................................................................................................................... 1 引言 .......................................................................................................................... 1 ..................................................................................................................... 1 特點 ................................................................................................... 2 與 ASP的區(qū)別 ..................................................................................... 3 SQL Server 2021的介紹 ............................................................................................ 4 SQL2021 Server 的優(yōu)勢 ................................................................................... 4 SQL Server 2021 與 SQL Server 2021 的區(qū)別 ................................................ 5 第 2章 P2P的簡介 .................................................................................................................. 7 第 3章 C簡介 ........................................................................................................................ 9 C簡介 ....................................................................................................................... 9 C的特點 ..................................................................................................................10 C從 Java繼承而來的特點 .............................................................................10 C從 C和 C++繼承的特點 ................................................................................ 11 C獨有的特點 ................................................................................................. 11 第 4章 系統(tǒng)配置 ....................................................................................................................13 第 5章 TCP應用編程 ..............................................................................................................15 TCP 協(xié)議的基礎知識 ..................................................................................................15 TCP 最主要的特點 .....................................................................................................15 利用 TCP開發(fā)應用程序時, .NET框架提供兩種工作方式 ...........................................15 異步 TCP應用編程 ....................................................................................................16 第 6章 ..............................................................................17 .....................................................................................................17 聊天程序簡介 – ChatRoom ........................................................................................17 的總體設計 ..................................................................................................17 聊天程序的系統(tǒng)功能設計 ...............................................................................17 聊天程序的數(shù)據(jù)表的建立 ...............................................................................18 第 7章 軟件實現(xiàn) ....................................................................................................................20 設計說明 ...........................................................................................20 文件上傳設計說明 ....................................................................................................21 用戶下載設計 ...........................................................................................................22 聊天界面設計 ...........................................................................................................24 用戶個性輸入字體設計 .............................................................................................25 用戶表情設計 ...........................................................................................................26 第 8章 調試與維護 ................................................................................................................26 系統(tǒng)調試 ........................................................................................................