ication over thousands of miles away. The past, old communication can't meet the need of modern life. Instant messenger software as a convenient contact between the practical tools brought great convenience to our study and work, greatly improving the efficiency of work and study. Because of its friendly outward appearance, the formidable function, the use convenience, the relation prompt and so on the characteristic wins modern people's favors, its application market is extremely broad.
Nowadays, a lot of enterprises, institutions and schools have set up their own LAN. So I thought of making a different communications software. We can achieve through it, the contact in LAN, news release, etc. In the school campus, the establishment of the software can be conveniently between teachers and students, between the contact between teacher and students. We need not get on the Internet. It can save resources. In the school, this software c can make students convenient links. Students can discuss problems with other students and teachers through it. This software can maximize existing network resources, greatly improving work efficiency. The software includes server program and client program. Server includes real-time chat message transmitting, database backup notification, and database of initialization functions. The client has login, registration, modify, chat, personal information functions.
Key
words: VB,Winsock,Access, Instant Messenger
目 录
摘 要 I
ABSTRACT II
第1章 绪论 1
1.1课题的来源及意义 1
1.2课题的目的 1
1.3课题的内容 1
第2章 开发工具介绍 2
2.1 VB简介 2
2.2 Access简介 4
第3章 网络通讯程序的设计原理 5
3.1 TCP/IP协议 5
3.2 客户机/服务器模型 6
第4章 需求分析及开发方法 8
4.1 需求分析 8
4.2 系统功能模块 8
4.3 系统功能需求图 8
4.4 开发方法介绍 9
第5章 总体设计 11
5.1 设计思想 11
5.2 关键通信技术-Winsock 11
第6章 详细设计 13
6.1 数据库设计 13
6.1.1 系统数据流程图 13
6.1.2 数据库逻辑结构设计 13
6.2 各主要窗体及核心代码介绍 14
6.2.1 密码模块 14
6.2.2 数据初始化模块 15
6.2.3 数据备份和还原模块 17
6.2.4 查看服务器信息 20
6.2.5 保存记录以及查看记录 20
6.2.6 更改管理员密码 23
6.2.7 发布通知 24
6.2.8 客户界面 25
6.2.9 底层通讯设计 30
结 论 33
参考文献 35
附 录 36
致 谢 37
第1章 绪论
1.1课题的来源及意义
在网络无所不在的今天,在Internet上,有QQ、MSN等网上寻呼软件,极大程度上方便了处于世界各地的友人之间的相互联系,也使世界好像一下子缩小了,不管你在哪里,只要你上了网,打开这些软件,就可以给你的朋友发信息,不管对方是否也同时在线,只要知道他的号码。
现在,企业、机关、都纷纷建立起自己的局域网。在局域网里,虽然可以通过文件共享的方式进行通讯,但单单使用这种方式,是非常不方便的。首先,在局域网里的网上邻居里,只能看到机器名,不清楚对方是谁,也不知道对方机器里有什么资源可以共享,而且当局域网内的机器很多时,这种方式更加麻烦。于是,就想到做一个适用于局域网(校园网)的聊天工具,在局域网里,我们可以通过它实现局域网内方便的联络、进行消息的发布。在的校园网里,这软件可以起到方便同学之间、教师