文件名称:EasyChat
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 812kb
- 下载次数:
- 0次
- 提 供 者:
- sun****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这是用C#做的一个简易的Windows平台下的聊天软件,包括了客户端和服务端的全部源码,注释很详细,有兴趣学习.net应用开发的同学可以下载来学习学习。这个示例包含了了C/S架构软件开发的很多基础知识和思想。
功能包括*,私聊,发送震动,收到消息发声,闪屏提示等等,大致类似于QQ的多人聊天会话功能。
涉及到的知识主要包括:
1. TCP/IP通信,包括TcpClient , TcpListener , Socket , NetworkStream等几个用于TCP通信的类的实际应用。
2. WIN平台下的多线程程序开发,后台监听线程是网络应用程序开发中的一个基本技术,这个实例的客户端和服务器端都用了后台监听数据包的线程。
3. 客户端和服务器之间交换消息的方法,主要是byte[ ]格式的消息包的消息格式设计和识别,以便让客户端和服务器能够正确交互。
4. 服务端对连接客户的信息存储和状态监控,这个实例用了Hashtable来存储客户连接信息-a chat tool develop by c# in the desk of windows,including source code of client sever ,which can help the students who want to study .net and c#
功能包括*,私聊,发送震动,收到消息发声,闪屏提示等等,大致类似于QQ的多人聊天会话功能。
涉及到的知识主要包括:
1. TCP/IP通信,包括TcpClient , TcpListener , Socket , NetworkStream等几个用于TCP通信的类的实际应用。
2. WIN平台下的多线程程序开发,后台监听线程是网络应用程序开发中的一个基本技术,这个实例的客户端和服务器端都用了后台监听数据包的线程。
3. 客户端和服务器之间交换消息的方法,主要是byte[ ]格式的消息包的消息格式设计和识别,以便让客户端和服务器能够正确交互。
4. 服务端对连接客户的信息存储和状态监控,这个实例用了Hashtable来存储客户连接信息-a chat tool develop by c# in the desk of windows,including source code of client sever ,which can help the students who want to study .net and c#
相关搜索: NetworkStream
easychatserver
socket
类
tcplistener
eastChat
socket
easychat
d
c
tcp
服务器
SOCKET
状态
ip
easychatserver
socket
类
tcplistener
eastChat
socket
easychat
d
c
tcp
服务器
SOCKET
状态
ip
(系统自动生成,下载前可以参看下载内容)
下载文件列表
EasyChat_Client
...............\bin
...............\...\Debug
...............\...\.....\EasyChat.exe
...............\...\.....\EasyChat.pdb
...............\...\.....\EasyChat.vshost.exe
...............\...\Release
...............\...\.......\EasyChat.exe
...............\...\.......\EasyChat.pdb
...............\...\.......\EasyChat.vshost.exe
...............\chat_frm.cs
...............\chat_frm.Designer.cs
...............\chat_frm.resx
...............\Client.csproj
...............\Client.csproj.user
...............\EasyChat_Client.sln
...............\login_frm.cs
...............\login_frm.Designer.cs
...............\login_frm.resx
...............\obj
...............\...\Client.csproj.FileList.txt
...............\...\Client.csproj.FileListAbsolute.txt
...............\...\Debug
...............\...\.....\Client.csproj.GenerateResource.Cache
...............\...\.....\EasyChat.chat_frm.resources
...............\...\.....\EasyChat.csproj.GenerateResource.Cache
...............\...\.....\EasyChat.exe
...............\...\.....\EasyChat.login_frm.resources
...............\...\.....\EasyChat.pdb
...............\...\.....\EasyChat.Properties.Resources.resources
...............\...\.....\EasyChat_Client.csproj.GenerateResource.Cache
...............\...\.....\Refactor
...............\...\.....\TempPE
...............\...\.....\......\Properties.Resources.Designer.cs.dll
...............\...\EasyChat.csproj.FileList.txt
...............\...\EasyChat_Client.csproj.FileList.txt
...............\...\EasyChat_Client.csproj.FileListAbsolute.txt
...............\...\Release
...............\...\.......\Client.csproj.GenerateResource.Cache
...............\...\.......\EasyChat.chat_frm.resources
...............\...\.......\EasyChat.exe
...............\...\.......\EasyChat.login_frm.resources
...............\...\.......\EasyChat.pdb
...............\...\.......\EasyChat.Properties.Resources.resources
...............\...\.......\EasyChat_Client.csproj.GenerateResource.Cache
...............\...\.......\Refactor
...............\...\.......\TempPE
...............\...\.......\......\Properties.Resources.Designer.cs.dll
...............\Program.cs
...............\Properties
...............\..........\AssemblyInfo.cs
...............\..........\Resources.Designer.cs
...............\..........\Resources.resx
...............\..........\Settings.Designer.cs
...............\..........\Settings.settings
...............\Resources
...............\.........\msg.wav
...............\.........\nudge.wav
...............\TCPConnection.cs
EasyChat_Client.exe
EasyChat_Server
...............\bin
...............\...\Debug
...............\...\.....\EasyChat_Server.exe
...............\...\.....\EasyChat_Server.pdb
...............\...\.....\EasyChat_Server.vshost.exe
...............\...\Release
...............\...\.......\EasyChat_Server.vshost.exe
...............\EasyChat_Server.csproj
...............\EasyChat_Server.sln
...............\Listener.cs
...............\obj
...............\...\Debug
...............\...\.....\EasyChat_Server.exe
...............\...\.....\EasyChat_Server.pdb
...............\...\.....\Refactor
...............\...\.....\TempPE
...............\...\EasyChat_Server.csproj.FileList.txt
...............\...\EasyChat_Server.csproj.FileListAbsolute.txt
...............\...\Release
...............\...\.......\Refactor
...............\...\.......\TempPE
...............\Program.cs
...............\Properties
...............\..........\AssemblyInfo.cs
EasyChat_Server.exe
...............\bin
...............\...\Debug
...............\...\.....\EasyChat.exe
...............\...\.....\EasyChat.pdb
...............\...\.....\EasyChat.vshost.exe
...............\...\Release
...............\...\.......\EasyChat.exe
...............\...\.......\EasyChat.pdb
...............\...\.......\EasyChat.vshost.exe
...............\chat_frm.cs
...............\chat_frm.Designer.cs
...............\chat_frm.resx
...............\Client.csproj
...............\Client.csproj.user
...............\EasyChat_Client.sln
...............\login_frm.cs
...............\login_frm.Designer.cs
...............\login_frm.resx
...............\obj
...............\...\Client.csproj.FileList.txt
...............\...\Client.csproj.FileListAbsolute.txt
...............\...\Debug
...............\...\.....\Client.csproj.GenerateResource.Cache
...............\...\.....\EasyChat.chat_frm.resources
...............\...\.....\EasyChat.csproj.GenerateResource.Cache
...............\...\.....\EasyChat.exe
...............\...\.....\EasyChat.login_frm.resources
...............\...\.....\EasyChat.pdb
...............\...\.....\EasyChat.Properties.Resources.resources
...............\...\.....\EasyChat_Client.csproj.GenerateResource.Cache
...............\...\.....\Refactor
...............\...\.....\TempPE
...............\...\.....\......\Properties.Resources.Designer.cs.dll
...............\...\EasyChat.csproj.FileList.txt
...............\...\EasyChat_Client.csproj.FileList.txt
...............\...\EasyChat_Client.csproj.FileListAbsolute.txt
...............\...\Release
...............\...\.......\Client.csproj.GenerateResource.Cache
...............\...\.......\EasyChat.chat_frm.resources
...............\...\.......\EasyChat.exe
...............\...\.......\EasyChat.login_frm.resources
...............\...\.......\EasyChat.pdb
...............\...\.......\EasyChat.Properties.Resources.resources
...............\...\.......\EasyChat_Client.csproj.GenerateResource.Cache
...............\...\.......\Refactor
...............\...\.......\TempPE
...............\...\.......\......\Properties.Resources.Designer.cs.dll
...............\Program.cs
...............\Properties
...............\..........\AssemblyInfo.cs
...............\..........\Resources.Designer.cs
...............\..........\Resources.resx
...............\..........\Settings.Designer.cs
...............\..........\Settings.settings
...............\Resources
...............\.........\msg.wav
...............\.........\nudge.wav
...............\TCPConnection.cs
EasyChat_Client.exe
EasyChat_Server
...............\bin
...............\...\Debug
...............\...\.....\EasyChat_Server.exe
...............\...\.....\EasyChat_Server.pdb
...............\...\.....\EasyChat_Server.vshost.exe
...............\...\Release
...............\...\.......\EasyChat_Server.vshost.exe
...............\EasyChat_Server.csproj
...............\EasyChat_Server.sln
...............\Listener.cs
...............\obj
...............\...\Debug
...............\...\.....\EasyChat_Server.exe
...............\...\.....\EasyChat_Server.pdb
...............\...\.....\Refactor
...............\...\.....\TempPE
...............\...\EasyChat_Server.csproj.FileList.txt
...............\...\EasyChat_Server.csproj.FileListAbsolute.txt
...............\...\Release
...............\...\.......\Refactor
...............\...\.......\TempPE
...............\Program.cs
...............\Properties
...............\..........\AssemblyInfo.cs
EasyChat_Server.exe