版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、中文題目: 英文題目: 學(xué) 院: 系 別: 專業(yè)班級: 學(xué)生姓名: 學(xué) 號: 指導(dǎo)教師:學(xué)士學(xué)位論文(外文翻譯)thesis of bachelor(20102014 年)linux局域網(wǎng)通信軟件設(shè)計(服務(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ā)送信息,不管對方是否也同時在線,只要知道他有號碼。linux操作系統(tǒng)作為一個開放資源的操作系統(tǒng)被越來越多的人所應(yīng)用,它的 好處在于操作系統(tǒng)源代碼的公開化!只要是基于gnu公約的軟件你都可以任意 使用并修改它的源代碼。但對很多習(xí)慣于windows操作系統(tǒng)的人來說,linux的 操作不夠人性化、交互界而不夠美觀,這給linux操作系統(tǒng)的普及帶來了很大的 阻礙。因此制作一個linux操作系統(tǒng)下的擁有人性化界面的實時通訊工具,將 給那些剛剛接觸linux操作系統(tǒng)的用戶帶來極大的方便,而且通過設(shè)計這樣的一 個應(yīng)用程序還能更好的學(xué)習(xí)網(wǎng)絡(luò)編程知識和掌握linux平臺上應(yīng)用程序
3、設(shè)計開 發(fā)的過程。編程語言和編程工具簡介因為c語言是平臺適應(yīng)性最強的語言,差不多每種平臺上都會有一個c編 譯器。c語言也更易移植,因而,在linux下編程的最佳語言應(yīng)該是c語言,linux 上的很多應(yīng)用程序就是用c語言寫的。因為gtk+和gnome是用c語言編寫的, 所以在開發(fā)linux下的gui程序時使用c語言是非常方便的。linux發(fā)布版本中都提供了 c編譯器gcc,它目前的版本是4. lolinux系統(tǒng)下的gcc (gnu c compiler)是gnu推出的功能強大、性能 優(yōu)越的多平臺編譯器,是gnu的代表作品之一。gcc是可以在多種硬體平臺上 編譯岀可執(zhí)行程序的超級編譯器,其執(zhí)行效率
4、與-般的編譯器相比平均效率要高 20%30% gcc編譯器能將c、c+語言源程序、匯程式化序和fi標(biāo)程序編譯、連 接成可執(zhí)行文件,如果沒有給出可執(zhí)行文件的名字,gcc將生成一個名為a. out 的文件。調(diào)試器gdb能讓你觀察另一個程序在執(zhí)行時的內(nèi)部活動,或程序出錯時發(fā) 生了什么。gdb主要能做四件事(包括為了完成這些事而附加的功能),幫助用 戶找岀程序中的錯誤。運行程序,設(shè)置所有的能影響程序運行的東四。保證程序在指定的條件下停止。當(dāng)程序停止時,讓用戶檢查發(fā)生了什么。改變程序。那樣用戶可以試著修正某個bug引起的問題,然后繼續(xù)查找另一 個 bugo用戶可以用gdb來調(diào)試c和c+寫的程序。該系統(tǒng)所
5、提供的舊插件以前的messenger plus!已被取代,不再受支持的 messenger plus!?;睢_@些插件開發(fā)人員面臨兩種選擇的messenger升級時加 過自己的老插件?。簞?chuàng)建一個腳本代理將調(diào)用他們的老插件的dllo重新創(chuàng)建在新的messenger plus開頭其功能!生活腳本系統(tǒng)。如果你在趕時間,解決方案一聽起來很有吸引力,所以你可能想知道,這個 解決方案,是不是有一些局限性。首先,腳木api不提供肓接訪問舊messenger 的com對象(從windows messenger的4天),這意味著,女口果你的插件是使 用“imessengerobj”或“omessenger”的初始
6、化參數(shù),這將需要修改工作在新的 制度。另外,如果你的插件是用c / c接口(而不是vb的界面)創(chuàng)建,您將 需要使用對象來創(chuàng)建一個databloc對于像parsecommand功能結(jié)構(gòu)參數(shù)。重塑你的腳木系統(tǒng)功能肓接可能需要較長時間,但會帶來一些新的優(yōu)勢。主 要明顯的是豐富的api相比,這是一個插件的可用的腳本系統(tǒng)提供。你的腳本 將可以做更多和更少的代碼。您還可以利用界面窗口的messenger plus功能優(yōu)勢! 為您的生活和腳本,完全融合在messenger創(chuàng)建窗口。不過,如果你想要直接加 載您的舊插件的dll,這里是如何做到這一點:/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等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 廚衛(wèi)家電項目備案申請報告可行性研究報告
- 2025年度個人別墅防水防霉處理合同范本4篇
- 2025年無紡環(huán)保袋定制及環(huán)保理念推廣合同3篇
- 《全球物流巨頭運營策略》課件
- 2025年綠色建筑用地土地平整及配套基礎(chǔ)設(shè)施建設(shè)合同3篇
- 2025年國家管網(wǎng)集團西氣東輸公司招聘筆試參考題庫含答案解析
- 二零二五年度明光幼兒園食堂改造與后勤服務(wù)提升合同4篇
- 2025年浙江永嘉投資集團有限公司招聘筆試參考題庫含答案解析
- 二零二五版二手房買賣合同中的違約賠償標(biāo)準(zhǔn)約定3篇
- 2025年安徽宿州市城市建設(shè)投資集團控股有限公司招聘筆試參考題庫附帶答案詳解
- 帶狀皰疹護理查房課件整理
- 年月江西省南昌市某綜合樓工程造價指標(biāo)及
- 奧氏體型不銹鋼-敏化處理
- 作物栽培學(xué)課件棉花
- 交通信號控制系統(tǒng)檢驗批質(zhì)量驗收記錄表
- 弱電施工驗收表模板
- 絕對成交課件
- 探究基坑PC工法組合鋼管樁關(guān)鍵施工技術(shù)
- 國名、語言、人民、首都英文-及各地區(qū)國家英文名
- API SPEC 5DP-2020鉆桿規(guī)范
- 組合式塔吊基礎(chǔ)施工專項方案(117頁)
評論
0/150
提交評論