实例介绍
采用tcp有连接编程,同步发送和异步接收 分为客户端和服务器端。 客户端的任务是发送消息给服务器 服务器的任务是接收客户端发来的消息进行判断,是操作数据库还是进行转发或者留言。 客户端也支持文件的传输。
【实例截图】
【核心代码】
.
├── C#写的山寨QQ
│ ├── 说明.txt
│ ├── 山寨QQ
│ │ ├── QQclient
│ │ │ ├── BIL
│ │ │ │ ├── BIL.csproj
│ │ │ │ ├── CheckLogin.cs
│ │ │ │ ├── Properties
│ │ │ │ │ └── AssemblyInfo.cs
│ │ │ │ ├── bin
│ │ │ │ │ └── Debug
│ │ │ │ │ ├── BIL.dll
│ │ │ │ │ └── BIL.pdb
│ │ │ │ └── obj
│ │ │ │ ├── BIL.csproj.FileListAbsolute.txt
│ │ │ │ └── Debug
│ │ │ │ ├── BIL.dll
│ │ │ │ ├── BIL.pdb
│ │ │ │ ├── Refactor
│ │ │ │ └── TempPE
│ │ │ ├── QQclient
│ │ │ │ ├── 103.gif
│ │ │ │ ├── AlterPsw.Designer.cs
│ │ │ │ ├── AlterPsw.cs
│ │ │ │ ├── AlterPsw.resx
│ │ │ │ ├── FindUser.Designer.cs
│ │ │ │ ├── FindUser.cs
│ │ │ │ ├── FindUser.resx
│ │ │ │ ├── GetIpAndPort.cs
│ │ │ │ ├── HandleMsg.cs
│ │ │ │ ├── HostIpAndPort.cs
│ │ │ │ ├── Master.cs
│ │ │ │ ├── MyForms.cs
│ │ │ │ ├── Program.cs
│ │ │ │ ├── Properties
│ │ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ │ ├── Resources.Designer.cs
│ │ │ │ │ ├── Resources.resx
│ │ │ │ │ ├── Settings.Designer.cs
│ │ │ │ │ └── Settings.settings
│ │ │ │ ├── QQclient.csproj
│ │ │ │ ├── QQlogin.Designer.cs
│ │ │ │ ├── QQlogin.cs
│ │ │ │ ├── QQlogin.resx
│ │ │ │ ├── QQmain.Designer.cs
│ │ │ │ ├── QQmain.cs
│ │ │ │ ├── QQmain.resx
│ │ │ │ ├── RandNum.cs
│ │ │ │ ├── RegisterUser.Designer.cs
│ │ │ │ ├── RegisterUser.cs
│ │ │ │ ├── RegisterUser.resx
│ │ │ │ ├── Resources
│ │ │ │ │ ├── 0611063Danimal01.jpg
│ │ │ │ │ ├── 103.gif
│ │ │ │ │ ├── 5_4.jpg
│ │ │ │ │ ├── AllBotton.gif
│ │ │ │ │ ├── ChaIP.ico
│ │ │ │ │ ├── FriendButton.ico
│ │ │ │ │ ├── JFBQ00125080320b.gif
│ │ │ │ │ ├── Mainframe_myQQ.ico
│ │ │ │ │ ├── MessageReading.gif
│ │ │ │ │ ├── MsgManagerButton.ico
│ │ │ │ │ ├── QQChaXun.ico
│ │ │ │ │ ├── SearchButton.ico
│ │ │ │ │ ├── StatusPic.ico
│ │ │ │ │ ├── StatusPic1down.ico
│ │ │ │ │ ├── StatusPic2.ico
│ │ │ │ │ ├── StatusPic3.ico
│ │ │ │ │ ├── Thumbs.db
│ │ │ │ │ ├── USERS.jpg
│ │ │ │ │ ├── chaz.gif
│ │ │ │ │ ├── chazhao.jpg
│ │ │ │ │ ├── logn.jpg
│ │ │ │ │ ├── logo.jpg
│ │ │ │ │ ├── mylong.gif
│ │ │ │ │ ├── pic5.jpg
│ │ │ │ │ ├── 啊.gif
│ │ │ │ │ ├── 啊1.gif
│ │ │ │ │ ├── 冲锋.GIF
│ │ │ │ │ ├── 不懂.gif
│ │ │ │ │ ├── 冰冻.gif
│ │ │ │ │ ├── 发傻.gif
│ │ │ │ │ ├── 发光.gif
│ │ │ │ │ ├── 发呆.gif
│ │ │ │ │ ├── 发抖.gif
│ │ │ │ │ ├── 嘲笑.gif
│ │ │ │ │ ├── 必胜.gif
│ │ │ │ │ ├── 恩恩.gif
│ │ │ │ │ ├── 摆脱.gif
│ │ │ │ │ ├── 点头.gif
│ │ │ │ │ ├── 爆发.gif
│ │ │ │ │ ├── 犯错.gif
│ │ │ │ │ ├── 财迷.gif
│ │ │ │ │ ├── 冲锋1.GIF
│ │ │ │ │ ├── 不懂1.gif
│ │ │ │ │ ├── 冰冻1.gif
│ │ │ │ │ ├── 发傻1.gif
│ │ │ │ │ ├── 发光1.gif
│ │ │ │ │ ├── 发呆1.gif
│ │ │ │ │ ├── 发抖1.gif
│ │ │ │ │ ├── 嘲笑1.gif
│ │ │ │ │ ├── 必胜1.gif
│ │ │ │ │ ├── 恩恩1.gif
│ │ │ │ │ ├── 摆脱1.gif
│ │ │ │ │ ├── 点头1.gif
│ │ │ │ │ ├── 爆发1.gif
│ │ │ │ │ ├── 犯错1.gif
│ │ │ │ │ ├── 财迷1.gif
│ │ │ │ │ ├── 发现MM.gif
│ │ │ │ │ ├── 发现MM1.gif
│ │ │ │ │ ├── 不行了.GIF
│ │ │ │ │ ├── 发嗲咯.GIF
│ │ │ │ │ ├── 背礼物.GIF
│ │ │ │ │ ├── 鄙视你.GIF
│ │ │ │ │ ├── 不可以.gif
│ │ │ │ │ ├── 不要拉.gif
│ │ │ │ │ ├── 包子呀.gif
│ │ │ │ │ ├── 吃包子.gif
│ │ │ │ │ ├── 吃饱了.gif
│ │ │ │ │ ├── 大喇叭.gif
│ │ │ │ │ ├── 大小孩.gif
│ │ │ │ │ ├── 憋死了.gif
│ │ │ │ │ ├── 拜托拉.gif
│ │ │ │ │ ├── 翻跟头.gif
│ │ │ │ │ ├── 不行了1.GIF
│ │ │ │ │ ├── 发嗲咯1.GIF
│ │ │ │ │ ├── 背礼物1.GIF
│ │ │ │ │ ├── 鄙视你1.GIF
│ │ │ │ │ ├── 不可以1.gif
│ │ │ │ │ ├── 不要拉1.gif
│ │ │ │ │ ├── 包子呀1.gif
│ │ │ │ │ ├── 吃包子1.gif
│ │ │ │ │ ├── 吃饱了1.gif
│ │ │ │ │ ├── 大喇叭1.gif
│ │ │ │ │ ├── 大小孩1.gif
│ │ │ │ │ ├── 憋死了1.gif
│ │ │ │ │ ├── 拜托拉1.gif
│ │ │ │ │ ├── 翻跟头1.gif
│ │ │ │ │ ├── 北斗神拳.GIF
│ │ │ │ │ ├── 不好意思.gif
│ │ │ │ │ ├── 不至于吧.gif
│ │ │ │ │ ├── 别无视我.gif
│ │ │ │ │ ├── 北斗神拳1.GIF
│ │ │ │ │ ├── 不好意思1.gif
│ │ │ │ │ ├── 不至于吧1.gif
│ │ │ │ │ ├── 别无视我1.gif
│ │ │ │ │ ├── 别再逼我了.gif
│ │ │ │ │ ├── 差的还远呢.gif
│ │ │ │ │ ├── 别再逼我了1.gif
│ │ │ │ │ ├── 差的还远呢1.gif
│ │ │ │ │ ├── 不给糖就捣蛋.gif
│ │ │ │ │ └── 不给糖就捣蛋1.gif
│ │ │ │ ├── SelectData.Designer.cs
│ │ │ │ ├── SelectData.cs
│ │ │ │ ├── SelectData.resx
│ │ │ │ ├── SelectImg.Designer.cs
│ │ │ │ ├── SelectImg.cs
│ │ │ │ ├── SelectImg.resx
│ │ │ │ ├── SendState.cs
│ │ │ │ ├── SupportSend.cs
│ │ │ │ ├── Thumbs.db
│ │ │ │ ├── UpdateData.Designer.cs
│ │ │ │ ├── UpdateData.cs
│ │ │ │ ├── UpdateData.resx
│ │ │ │ ├── UserChat.Designer.cs
│ │ │ │ ├── UserChat.cs
│ │ │ │ ├── UserChat.resx
│ │ │ │ ├── about.Designer.cs
│ │ │ │ ├── about.cs
│ │ │ │ ├── about.resx
│ │ │ │ ├── bin
│ │ │ │ │ └── Debug
│ │ │ │ │ ├── 1.ico
│ │ │ │ │ ├── 2.ico
│ │ │ │ │ ├── App.ico
│ │ │ │ │ ├── BIL.dll
│ │ │ │ │ ├── BIL.pdb
│ │ │ │ │ ├── QQclient.exe
│ │ │ │ │ ├── QQclient.pdb
│ │ │ │ │ ├── QQclient.vshost.exe
│ │ │ │ │ ├── SideBar.dll
│ │ │ │ │ ├── Thumbs.db
│ │ │ │ │ ├── image
│ │ │ │ │ │ ├── 0.gif
│ │ │ │ │ │ ├── 1.gif
│ │ │ │ │ │ ├── 10.gif
│ │ │ │ │ │ ├── 11.gif
│ │ │ │ │ │ ├── 12.gif
│ │ │ │ │ │ ├── 13.gif
│ │ │ │ │ │ ├── 14.gif
│ │ │ │ │ │ ├── 15.gif
│ │ │ │ │ │ ├── 16.gif
│ │ │ │ │ │ ├── 17.gif
│ │ │ │ │ │ ├── 18.GIF
│ │ │ │ │ │ ├── 19.gif
│ │ │ │ │ │ ├── 2.gif
│ │ │ │ │ │ ├── 20.gif
│ │ │ │ │ │ ├── 21.gif
│ │ │ │ │ │ ├── 22.gif
│ │ │ │ │ │ ├── 23.gif
│ │ │ │ │ │ ├── 24.gif
│ │ │ │ │ │ ├── 25.gif
│ │ │ │ │ │ ├── 26.GIF
│ │ │ │ │ │ ├── 27.gif
│ │ │ │ │ │ ├── 28.gif
│ │ │ │ │ │ ├── 29.gif
│ │ │ │ │ │ ├── 3.gif
│ │ │ │ │ │ ├── 30.gif
│ │ │ │ │ │ ├── 31.gif
│ │ │ │ │ │ ├── 32.GIF
│ │ │ │ │ │ ├── 33.gif
│ │ │ │ │ │ ├── 34.gif
│ │ │ │ │ │ ├── 35.gif
│ │ │ │ │ │ ├── 36.gif
│ │ │ │ │ │ ├── 37.gif
│ │ │ │ │ │ ├── 38.gif
│ │ │ │ │ │ ├── 39.gif
│ │ │ │ │ │ ├── 4.gif
│ │ │ │ │ │ ├── 40.gif
│ │ │ │ │ │ ├── 41.gif
│ │ │ │ │ │ ├── 42.gif
│ │ │ │ │ │ ├── 43.gif
│ │ │ │ │ │ ├── 44.GIF
│ │ │ │ │ │ ├── 45.GIF
│ │ │ │ │ │ ├── 46.GIF
│ │ │ │ │ │ ├── 47.gif
│ │ │ │ │ │ ├── 48.gif
│ │ │ │ │ │ ├── 49.gif
│ │ │ │ │ │ ├── 5.gif
│ │ │ │ │ │ ├── 50.gif
│ │ │ │ │ │ ├── 51.gif
│ │ │ │ │ │ ├── 52.gif
│ │ │ │ │ │ ├── 53.gif
│ │ │ │ │ │ ├── 54.gif
│ │ │ │ │ │ ├── 55.gif
│ │ │ │ │ │ ├── 56.GIF
│ │ │ │ │ │ ├── 57.gif
│ │ │ │ │ │ ├── 58.gif
│ │ │ │ │ │ ├── 59.gif
│ │ │ │ │ │ ├── 6.GIF
│ │ │ │ │ │ ├── 60.gif
│ │ │ │ │ │ ├── 61.gif
│ │ │ │ │ │ ├── 62.gif
│ │ │ │ │ │ ├── 63.gif
│ │ │ │ │ │ ├── 64.GIF
│ │ │ │ │ │ ├── 65.gif
│ │ │ │ │ │ ├── 66.gif
│ │ │ │ │ │ ├── 67.gif
│ │ │ │ │ │ ├── 68.gif
│ │ │ │ │ │ ├── 69.gif
│ │ │ │ │ │ ├── 7.GIF
│ │ │ │ │ │ ├── 70.GIF
│ │ │ │ │ │ ├── 71.gif
│ │ │ │ │ │ ├── 72.gif
│ │ │ │ │ │ ├── 73.gif
│ │ │ │ │ │ ├── 74.gif
│ │ │ │ │ │ ├── 75.gif
│ │ │ │ │ │ ├── 8.GIF
│ │ │ │ │ │ ├── 9.gif
│ │ │ │ │ │ └── Thumbs.db
│ │ │ │ │ ├── login.gif
│ │ │ │ │ └── myico
│ │ │ │ │ ├── 1.ico
│ │ │ │ │ ├── 2.ico
│ │ │ │ │ ├── App.ico
│ │ │ │ │ ├── MsgManagerButton.ico
│ │ │ │ │ ├── Thumbs.db
│ │ │ │ │ ├── f1.ico
│ │ │ │ │ ├── f2.ico
│ │ │ │ │ ├── left.ico
│ │ │ │ │ └── system.ico
│ │ │ │ ├── obj
│ │ │ │ │ ├── Debug
│ │ │ │ │ │ ├── QQclient.AlterPsw.resources
│ │ │ │ │ │ ├── QQclient.FindUser.resources
│ │ │ │ │ │ ├── QQclient.Properties.Resources.resources
│ │ │ │ │ │ ├── QQclient.QQlogin.resources
│ │ │ │ │ │ ├── QQclient.QQmain.resources
│ │ │ │ │ │ ├── QQclient.RegisterUser.resources
│ │ │ │ │ │ ├── QQclient.SelectData.resources
│ │ │ │ │ │ ├── QQclient.SelectImg.resources
│ │ │ │ │ │ ├── QQclient.UpdateData.resources
│ │ │ │ │ │ ├── QQclient.UserChat.resources
│ │ │ │ │ │ ├── QQclient.about.resources
│ │ │ │ │ │ ├── QQclient.csproj.GenerateResource.Cache
│ │ │ │ │ │ ├── QQclient.exe
│ │ │ │ │ │ ├── QQclient.pdb
│ │ │ │ │ │ ├── QQclient.temp.resources
│ │ │ │ │ │ ├── Refactor
│ │ │ │ │ │ ├── ResolveAssemblyReference.cache
│ │ │ │ │ │ └── TempPE
│ │ │ │ │ │ └── Properties.Resources.Designer.cs.dll
│ │ │ │ │ ├── QQclient.csproj.FileList.txt
│ │ │ │ │ └── QQclient.csproj.FileListAbsolute.txt
│ │ │ │ ├── provinceandcity.cs
│ │ │ │ ├── temp.Designer.cs
│ │ │ │ ├── temp.cs
│ │ │ │ └── temp.resx
│ │ │ ├── QQclient.sln
│ │ │ ├── QQclient.suo
│ │ │ ├── Thumbs.db
│ │ │ ├── logn.jpg
│ │ │ └── mylong.gif
│ │ ├── QQserver
│ │ │ ├── BIZ
│ │ │ │ ├── BIZ.csproj
│ │ │ │ ├── Class1.cs
│ │ │ │ ├── Properties
│ │ │ │ │ └── AssemblyInfo.cs
│ │ │ │ ├── bin
│ │ │ │ │ └── Debug
│ │ │ │ │ ├── BIZ.dll
│ │ │ │ │ └── BIZ.pdb
│ │ │ │ └── obj
│ │ │ │ ├── BIZ.csproj.FileListAbsolute.txt
│ │ │ │ └── Debug
│ │ │ │ ├── BIZ.dll
│ │ │ │ ├── BIZ.pdb
│ │ │ │ └── TempPE
│ │ │ ├── DAO
│ │ │ │ ├── DAO.csproj
│ │ │ │ ├── Properties
│ │ │ │ │ └── AssemblyInfo.cs
│ │ │ │ ├── bin
│ │ │ │ │ └── Debug
│ │ │ │ │ ├── DAO.dll
│ │ │ │ │ └── DAO.pdb
│ │ │ │ ├── mydao.cs
│ │ │ │ └── obj
│ │ │ │ ├── DAL.csproj.FileListAbsolute.txt
│ │ │ │ ├── DAO.csproj.FileListAbsolute.txt
│ │ │ │ └── Debug
│ │ │ │ ├── DAO.dll
│ │ │ │ ├── DAO.pdb
│ │ │ │ └── TempPE
│ │ │ ├── QQserver
│ │ │ │ ├── BuildXml.cs
│ │ │ │ ├── CheckTalk.cs
│ │ │ │ ├── Form1.Designer.cs
│ │ │ │ ├── Form1.cs
│ │ │ │ ├── Form1.resx
│ │ │ │ ├── HandleMsg.cs
│ │ │ │ ├── IPandPort.cs
│ │ │ │ ├── ManageUser.cs
│ │ │ │ ├── MyUser.cs
│ │ │ │ ├── Program.cs
│ │ │ │ ├── Properties
│ │ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ │ ├── Resources.Designer.cs
│ │ │ │ │ ├── Resources.resx
│ │ │ │ │ ├── Settings.Designer.cs
│ │ │ │ │ └── Settings.settings
│ │ │ │ ├── QQserver.csproj
│ │ │ │ ├── SelectServer.Designer.cs
│ │ │ │ ├── SelectServer.cs
│ │ │ │ ├── SelectServer.resx
│ │ │ │ ├── UserLogin.cs
│ │ │ │ ├── UserPower.cs
│ │ │ │ ├── UserRegister.cs
│ │ │ │ ├── bin
│ │ │ │ │ └── Debug
│ │ │ │ │ ├── DAO.dll
│ │ │ │ │ ├── DAO.pdb
│ │ │ │ │ ├── QQserver.exe
│ │ │ │ │ ├── QQserver.pdb
│ │ │ │ │ └── QQserver.vshost.exe
│ │ │ │ └── obj
│ │ │ │ ├── Debug
│ │ │ │ │ ├── QQserver.Form1.resources
│ │ │ │ │ ├── QQserver.Properties.Resources.resources
│ │ │ │ │ ├── QQserver.SelectServer.resources
│ │ │ │ │ ├── QQserver.csproj.GenerateResource.Cache
│ │ │ │ │ ├── QQserver.exe
│ │ │ │ │ ├── QQserver.pdb
│ │ │ │ │ ├── Refactor
│ │ │ │ │ ├── ResolveAssemblyReference.cache
│ │ │ │ │ └── TempPE
│ │ │ │ │ └── Properties.Resources.Designer.cs.dll
│ │ │ │ └── QQserver.csproj.FileListAbsolute.txt
│ │ │ ├── QQserver.sln
│ │ │ └── QQserver.suo
│ │ ├── db_xinxi.mdf
│ │ ├── db_xinxi_log.ldf
│ │ ├── 山寨QQ.ppt
│ │ └── 项目设计说明书.doc
│ └── 山寨QQ.rar
└── c#实现QQ聊天程序(源代码)(分服务端和客户端,采用tcp连接)(更新版)_C#写的山寨QQ.rar
45 directories, 342 files
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论