局域网聊天工具的设计与实现ezuaml_l.docVIP

  • 3
  • 0
  • 约3.51万字
  • 约 48页
  • 2018-09-11 发布于湖北
  • 举报
局域网聊天工具的设计与实现ezuaml_l

本科生毕业论文 论文题目: 局域网聊天工具的设计与实现 外文题目: The design and realization of the LAN chat implement 学生姓名: *** 学生学号: **** 专业班级: 计算机科学*** 学院名称: 计算机信息*** 指导教师: ***教授 声明 本人郑重声明:所呈交的论文是本人在老师的指导下独立进行研究所取得的研究成果。除了文中特别加以标注引用的内容外,本论文不包含任何其他个人或集体已经发表或撰写的成果作品。对本文的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。 摘要 本论文所设计的局域网聊天程序将采用软件工程学的设计流程,其所涉及专业技术主要包含socket网络编程,ODBC数据库编程技术,Windows MFC 程序设计技术,多线程机制。本程序将以VC 6.0作为系统开发工具,Microsoft SQL Sever 2000作为后台数据库管理系统,通过Microsoft操作系统自带的ODBC管理工具连接程序和数据库。此聊天程序将采用C/S模式即客户端/服务器模式。客户端和服务器、客户端和客户端之间均采用UDP进行通信。服务器主要负责储存局域网内所有用户的信息,当用户信息发生变化时通知所有客户端。此外服务器还要负责分配用户的惟一标识Uid。除此之外,服务器还能注销用户和群发系统消息。客户端具有用户注册、用户登录和向局域网内任何一个用户发送信息的功能。客户端需手动输入服务器地址。 关键词:局域网聊天;socket(套接字);ODBC(开放数据互连);客户端/服务器模式;MFC(微软基础类);多线程;UDP(用户数据报协议) Abstract The LAN chat program in this article will use the design procedure of the Software Engineering to design with Socket Network Programming,ODBC Database Programming,Windows MFC Programming,Multithread.This program will adopt VC 6.0 as the system Develpoment tool,and SQL Sever 2000 as the databse management system,while the ODBC management tool belong to Microsoft Operating System is used to link the program and databse.This chat program will be based on C/S architecture.The communication between client and server or client and client will depend on the UDP protocol.The Server is in charge of storing the information of all the users int the LAN,and notify all the users while the information change.Except that,what the Sever will do is to assign the Uid which one is the only mark of client user,delete user and send system message to all users.The Client is in charge of user register,user log on and chatting with any one else in the LAN.The Client need to manually input the address of the Server. Key words:LAN chat,socket,ODBC,C/S,MFC,multithread,UDP 目录 声明………………………………………………………I 摘要………………………………………………………I Abstract…………………………………………………Ⅱ 1 引言……………………………………………………1 1.1课题背景及意义………………………

文档评论(0)

1亿VIP精品文档

相关文档