




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1、中文題目: 英文題目: 學(xué) 院: 系 別: 專業(yè)班級(jí): 學(xué)生姓名: 學(xué) 號(hào): 指導(dǎo)教師:學(xué)士學(xué)位論文(外文翻譯)thesis of bachelor(20102014 年)linux局域網(wǎng)通信軟件設(shè)計(jì)(服務(wù)器部分)communication software design based linux osin lan (server part)二o 一四年八月網(wǎng)絡(luò)聊天工具在網(wǎng)絡(luò)無所不在的今天,在internet ±,有icq、msn、gtalk> oicq等網(wǎng) 絡(luò)聊天軟件,極大程度上方便了處于在世界各地的友人z間的相互聯(lián)系,也使世 界好像一下子縮小了,不管你在哪里,只要你上了網(wǎng),打
2、開這些軟件,就可以給 你的朋友發(fā)送信息,不管對(duì)方是否也同時(shí)在線,只要知道他有號(hào)碼。linux操作系統(tǒng)作為一個(gè)開放資源的操作系統(tǒng)被越來越多的人所應(yīng)用,它的 好處在于操作系統(tǒng)源代碼的公開化!只要是基于gnu公約的軟件你都可以任意 使用并修改它的源代碼。但對(duì)很多習(xí)慣于windows操作系統(tǒng)的人來說,linux的 操作不夠人性化、交互界而不夠美觀,這給linux操作系統(tǒng)的普及帶來了很大的 阻礙。因此制作一個(gè)linux操作系統(tǒng)下的擁有人性化界面的實(shí)時(shí)通訊工具,將 給那些剛剛接觸linux操作系統(tǒng)的用戶帶來極大的方便,而且通過設(shè)計(jì)這樣的一 個(gè)應(yīng)用程序還能更好的學(xué)習(xí)網(wǎng)絡(luò)編程知識(shí)和掌握linux平臺(tái)上應(yīng)用程序
3、設(shè)計(jì)開 發(fā)的過程。編程語言和編程工具簡介因?yàn)閏語言是平臺(tái)適應(yīng)性最強(qiáng)的語言,差不多每種平臺(tái)上都會(huì)有一個(gè)c編 譯器。c語言也更易移植,因而,在linux下編程的最佳語言應(yīng)該是c語言,linux 上的很多應(yīng)用程序就是用c語言寫的。因?yàn)間tk+和gnome是用c語言編寫的, 所以在開發(fā)linux下的gui程序時(shí)使用c語言是非常方便的。linux發(fā)布版本中都提供了 c編譯器gcc,它目前的版本是4. lolinux系統(tǒng)下的gcc (gnu c compiler)是gnu推出的功能強(qiáng)大、性能 優(yōu)越的多平臺(tái)編譯器,是gnu的代表作品之一。gcc是可以在多種硬體平臺(tái)上 編譯岀可執(zhí)行程序的超級(jí)編譯器,其執(zhí)行效率
4、與-般的編譯器相比平均效率要高 20%30% gcc編譯器能將c、c+語言源程序、匯程式化序和fi標(biāo)程序編譯、連 接成可執(zhí)行文件,如果沒有給出可執(zhí)行文件的名字,gcc將生成一個(gè)名為a. out 的文件。調(diào)試器gdb能讓你觀察另一個(gè)程序在執(zhí)行時(shí)的內(nèi)部活動(dòng),或程序出錯(cuò)時(shí)發(fā) 生了什么。gdb主要能做四件事(包括為了完成這些事而附加的功能),幫助用 戶找岀程序中的錯(cuò)誤。運(yùn)行程序,設(shè)置所有的能影響程序運(yùn)行的東四。保證程序在指定的條件下停止。當(dāng)程序停止時(shí),讓用戶檢查發(fā)生了什么。改變程序。那樣用戶可以試著修正某個(gè)bug引起的問題,然后繼續(xù)查找另一 個(gè) bugo用戶可以用gdb來調(diào)試c和c+寫的程序。該系統(tǒng)所
5、提供的舊插件以前的messenger plus!已被取代,不再受支持的 messenger plus!牛活。這些插件開發(fā)人員面臨兩種選擇的messenger升級(jí)時(shí)加 過自己的老插件!:創(chuàng)建一個(gè)腳本代理將調(diào)用他們的老插件的dllo重新創(chuàng)建在新的messenger plus開頭其功能!生活腳本系統(tǒng)。如果你在趕時(shí)間,解決方案一聽起來很有吸引力,所以你可能想知道,這個(gè) 解決方案,是不是有一些局限性。首先,腳木api不提供肓接訪問舊messenger 的com對(duì)象(從windows messenger的4天),這意味著,女口果你的插件是使 用“imessengerobj”或“omessenger”的初始
6、化參數(shù),這將需要修改工作在新的 制度。另外,如果你的插件是用c / c接口(而不是vb的界面)創(chuàng)建,您將 需要使用對(duì)象來創(chuàng)建一個(gè)databloc對(duì)于像parsecommand功能結(jié)構(gòu)參數(shù)。重塑你的腳木系統(tǒng)功能肓接可能需要較長時(shí)間,但會(huì)帶來一些新的優(yōu)勢(shì)。主 要明顯的是豐富的api相比,這是一個(gè)插件的可用的腳本系統(tǒng)提供。你的腳本 將可以做更多和更少的代碼。您還可以利用界面窗口的messenger plus功能優(yōu)勢(shì)! 為您的生活和腳本,完全融合在messenger創(chuàng)建窗口。不過,如果你想要直接加 載您的舊插件的dll,這里是如何做到這一點(diǎn):/load a c plugin dllfunction l
7、oadplugin_dll (dllpath)if (interop. call (dllpath, "initialize", 8, “,0)二二 1) debug. trace (the c plugin has been initialized");/load a vb activex objectfunction loadplugin vb (progid) "var pluginobj = new activexobject (progid);if (pluginobj)if (pluginobj. initialize(8, “,undefi
8、ned) = true) debug. trace (,zthe vb plugin has been initialized");web chat softwareubiquitous in the network today, the internet, there are icq, msn, gtalk, oicq, etc. web chat software is a great extent around the world to facilitate the links between friends, but also to make the world seem s
9、uddenly narrowed, no matter where you are, as long as you get on the net, open the software, you can send messages to your friends, regardless of whether the other side also online, just know that he has numbers.linux operating system as an open source operating system is applied more and more peopl
10、e, it has the advantage of operating system open source code! as long as the convention is based on gnu software, you can free to use and modify its source code. but for many people who used to run windows operating systems, linux operating less humane, less attractive interface, which spread to the
11、 linux operating system is a big obstacle. so make a linux operating system has a user-friendly interface under real-time communication tools, will give those new to linux operating system users great convenience, but also through the design of such an application can better learning network program
12、ming linux platform of knowledge and mastery of the application design and development process, the knowledge the university four years of comprehensive use of learning outcomes in order to achieve the purpose of inspection.introduction to programming languages and programming toolsbecause the c lan
13、guage is the most adaptable platform, language, almost every platform there will be a c compiler. c language is also more portable, and therefore, in the best language programming under linux should be the c language, linux is on the many applications written using c language. for gtk + and gnome is
14、 written in c language, so in the development of gui programs under linux using c language is very convenient. linux releases provided in both c compiler gcc, its current version is 4.1.linux system in the gcc (gnu c compiler) is gnu introduced the powerful, the superior performance of multi-platfor
15、m compiler, is one of the representative works of gnu. gcc is a variety of hardware platforms to compile the executable super compiler, the efficiency of its compiler and the general higher than the average efficiency of 20% 30% gcc compiler can c, c + + language source , the department of stylized
16、sequence and the target program compiled, linked into an executable file,訐 not given the name of the executable file, gcc will generate a file named a.out.gdb debugger another program allows you to observe the internal activities in the implementation, or program error happened.gdb can do four main
17、things (including the order to accomplish these things and additional features), to help users find bugs in the program.run the program, set to run all of the things that can affect programs.assurance procedures to stop the specified conditions.when the program stops, allowing users to check what ha
18、ppened.change process. that the user can try to fix the problems caused by a bug, and then continue to find another bug.users can use gdb to debug c and c + + to write programs.this document is intended to be read by developers familiar with the old plugin system of messenger plus!the old plugins sy
19、stem previously offered by messenger plus! has been deprecated and is no longer supported by messenger plus! live. developers of such plugins are faced with two options when upgrading their old plugins for messenger plus live!:create a script proxy that will call their old plugin dll.recreate their
20、features from scratch in the new messenger plus! live scripting system.if yoifre in a hurry, solution 1 may sound appealing ,so you may want to know that this solution comes with a couple of limitations. first, the scripting api does not give direct access to the old messenger com object (from the d
21、ays of windows messenger 4) which means that if your plugin was using the nimessengerobjn or nomessengern parameter of initialize, it will need to be modified to work in the new system. also, if your plugin was created with the c/c+ interface (as opposed to the vb interface), you will need to use a databloc object to create the structure parameters for functions like parsecommand.recreating your features directly in the scripting system may take longer but will bring several new advantages. the main obvious one is the rich api offered by the scripting system compared to the o
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 教育機(jī)構(gòu)網(wǎng)絡(luò)課程版權(quán)分成協(xié)議
- 頂級(jí)游艇配備智能衛(wèi)星導(dǎo)航系統(tǒng)租賃協(xié)議
- 研發(fā)團(tuán)隊(duì)競業(yè)限制補(bǔ)償金支付及項(xiàng)目交接協(xié)議
- 現(xiàn)代智能家居智能門鎖云管理合作協(xié)議
- 司法鑒定機(jī)構(gòu)合伙人業(yè)務(wù)培訓(xùn)與發(fā)展協(xié)議
- 目標(biāo)管理理論體系框架
- 人體組織管理員工培訓(xùn)計(jì)劃
- 《智能康復(fù)助手》課件
- 《智能交通管理與安全技術(shù)課件》
- 創(chuàng)業(yè)公司高效入職培訓(xùn)體系設(shè)計(jì)
- 分離工程知到智慧樹章節(jié)測(cè)試課后答案2024年秋昆明理工大學(xué)
- 《漢語國際教育概論》超詳細(xì)一萬字筆記
- 《南海南部海洋環(huán)流的結(jié)構(gòu)與季節(jié)變化》
- 《大學(xué)計(jì)算機(jī)基礎(chǔ)教程》課件第1章 計(jì)算機(jī)基礎(chǔ)知識(shí)
- 武漢版生命生態(tài)安全【武漢版】《生命安全教育》五年級(jí) 第7課《網(wǎng)絡(luò)資訊辨真假》課件
- 《電氣基礎(chǔ)知識(shí)培訓(xùn)》課件
- 中國共產(chǎn)主義青年團(tuán)團(tuán)章
- 游戲動(dòng)漫游戲體驗(yàn)提升及游戲衍生品開發(fā)策略
- 體育-小學(xué)移動(dòng)性技能:跳躍游戲教學(xué)設(shè)計(jì)與教案
- 第02輯一輪語法 專題16 with復(fù)合結(jié)構(gòu)(高考真題+名校模擬+寫作升格)(教師版) 2025屆新高三英語提分培優(yōu)通關(guān)練(高考真題+名校模擬)
- 核工業(yè)數(shù)字化轉(zhuǎn)型
評(píng)論
0/150
提交評(píng)論