基于C#的网络聊天工具
2014-01-13 01:52
导读:电子商务论文毕业论文,基于C#的网络聊天工具怎么写,格式要求,写法技巧,科教论文网展示的这篇论文是很好的参考:摘要本论文提出一个基于C#语言运行于.NET平台上的局域网聊天器的解决方案
摘要
本论文提出一个基于C#语言运行于.NET平台上的局域网聊天器的解决方案,并对其具体应用中的实现模块进行了剖析。
该聊天器包括服务器端和客户端两个模块,这两模块间可以互相通信,不同的客户端间也可以进行通信。服务器端模块主要包括如下功能:主机功能、管理员登录身份验证、用户基本信息管理和用户聊天记录管理。客户端模块又分为上线用户登录和隐身用户登录两个子模块,两个模块均包括如下功能:用户登录身份验证、查询用户个人聊天记录、快捷获得本机IP地址。
该软件使用Socket以完成服务器端和客户端间的通信,使用多线程技术支持多用户操作,使用数据集和DataGrid实现消息查询和管理。
关键词:服务器端;客户端;上线用户;隐身用户;Socket Abstract
This thesis proposes a solution of a LAN chatting device based on C# language, which is operated on the .NET platform, and has dissected its realization module while employing specifically.
This chatting device includes two modules, the server end and the client end, which can communicate with each other. It can carry on communication among different customer ends, too. The server end module mainly includes the following functions: Host computer function, administrator log-in identity checking, user basic information management and all users’ chatting record management. The customer end module was divided into two pieces of module, standard grade log-in user and stealthy log-in user, which include the following functions: User’s log-in identity test , inquire individual chatting records and gets this machine’s IP address swiftly .
This software uses Socket to finish the communication between two pieces of module (the sever end and the client end). Because of its support for multi-client, it also has to turn to the multi-threading technology. At the same time, it uses DataSet and DataGrid to realize inquire and management of messages.