版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、中文题目: 英文题目: 学 院: 系 别: 专业班级: 学生姓名: 学 号: 指导教师:学士学位论文(外文翻译)thesis of bachelor(20102014 年)linux局域网通信软件设计(服务器部分)communication software design based linux osin lan (server part)二o 一四年八月网络聊天工具在网络无所不在的今天,在internet ±,有icq、msn、gtalk> oicq等网 络聊天软件,极大程度上方便了处于在世界各地的友人z间的相互联系,也使世 界好像一下子缩小了,不管你在哪里,只要你上了网,打
2、开这些软件,就可以给 你的朋友发送信息,不管对方是否也同时在线,只要知道他有号码。linux操作系统作为一个开放资源的操作系统被越来越多的人所应用,它的 好处在于操作系统源代码的公开化!只要是基于gnu公约的软件你都可以任意 使用并修改它的源代码。但对很多习惯于windows操作系统的人来说,linux的 操作不够人性化、交互界而不够美观,这给linux操作系统的普及带来了很大的 阻碍。因此制作一个linux操作系统下的拥有人性化界面的实时通讯工具,将 给那些刚刚接触linux操作系统的用户带来极大的方便,而且通过设计这样的一 个应用程序还能更好的学习网络编程知识和掌握linux平台上应用程序
3、设计开 发的过程。编程语言和编程工具简介因为c语言是平台适应性最强的语言,差不多每种平台上都会有一个c编 译器。c语言也更易移植,因而,在linux下编程的最佳语言应该是c语言,linux 上的很多应用程序就是用c语言写的。因为gtk+和gnome是用c语言编写的, 所以在开发linux下的gui程序时使用c语言是非常方便的。linux发布版本中都提供了 c编译器gcc,它目前的版本是4. lolinux系统下的gcc (gnu c compiler)是gnu推出的功能强大、性能 优越的多平台编译器,是gnu的代表作品之一。gcc是可以在多种硬体平台上 编译岀可执行程序的超级编译器,其执行效率
4、与-般的编译器相比平均效率要高 20%30% gcc编译器能将c、c+语言源程序、汇程式化序和fi标程序编译、连 接成可执行文件,如果没有给出可执行文件的名字,gcc将生成一个名为a. out 的文件。调试器gdb能让你观察另一个程序在执行时的内部活动,或程序出错时发 生了什么。gdb主要能做四件事(包括为了完成这些事而附加的功能),帮助用 户找岀程序中的错误。运行程序,设置所有的能影响程序运行的东四。保证程序在指定的条件下停止。当程序停止时,让用户检查发生了什么。改变程序。那样用户可以试着修正某个bug引起的问题,然后继续查找另一 个 bugo用户可以用gdb来调试c和c+写的程序。该系统所
5、提供的旧插件以前的messenger plus!已被取代,不再受支持的 messenger plus!牛活。这些插件开发人员面临两种选择的messenger升级时加 过自己的老插件!:创建一个脚本代理将调用他们的老插件的dllo重新创建在新的messenger plus开头其功能!生活脚本系统。如果你在赶时间,解决方案一听起来很有吸引力,所以你可能想知道,这个 解决方案,是不是有一些局限性。首先,脚木api不提供肓接访问旧messenger 的com对象(从windows messenger的4天),这意味着,女口果你的插件是使 用“imessengerobj”或“omessenger”的初始
6、化参数,这将需要修改工作在新的 制度。另外,如果你的插件是用c / c接口(而不是vb的界面)创建,您将 需要使用对象来创建一个databloc对于像parsecommand功能结构参数。重塑你的脚木系统功能肓接可能需要较长时间,但会带来一些新的优势。主 要明显的是丰富的api相比,这是一个插件的可用的脚本系统提供。你的脚本 将可以做更多和更少的代码。您还可以利用界面窗口的messenger plus功能优势! 为您的生活和脚本,完全融合在messenger创建窗口。不过,如果你想要直接加 载您的旧插件的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. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 四川省泸县高三三诊模拟语文试卷(含答案)
- 中职班主任选手备赛七部曲汇报人王秀芳讲解
- 职业沟通与礼仪健康管理系施怡宁讲解
- 2025商铺租房的合同范本
- 简单聘用合同范本
- 2025抵押物的借款合同范本「标准版」
- 实习生用人合同协议书
- 2025三方工程合同
- 提高沟通技巧的职业培训方案
- 安防监控工程施工合同范本
- 苏教版六年级数学下册第四单元大单元教学设计
- 北师大版七年级上册数学思维导图全套
- 13《马说》(原卷版)-2023年中考课标文言文20篇专项训练
- 人教版三下劳动项目四《蒸蛋羹》教学设计
- 质量为纲-华为公司质量理念与实践
- 2023徐金桂“徐徐道来”(行政法知识点)版
- 《事故汽车常用零部件修复与更换判别规范》
- JBT 1306-2024 电动单梁起重机(正式版)
- 信息科技重大版 七年级下册 互联网应用与创新 第一单元单元教学设计 互联网创新应用
- 高中政治必刷题 高考真题 必修3《政治与法治》(原卷版)
- 2024年辅警招聘考试试题库含完整答案(各地真题)
评论
0/150
提交评论