登录
首页 » Windows Socket编程 » 该聊天程序包括服务器和客户端两部分,使用是MFC的CSOCKET类。 它可以使多个人聊天,其工作方式类似于网上聊天室,可以在同一台机器上启动 多个...

该聊天程序包括服务器和客户端两部分,使用是MFC的CSOCKET类。 它可以使多个人聊天,其工作方式类似于网上聊天室,可以在同一台机器上启动 多个...

于 2022-04-20 发布 文件大小:221.25 kB
0 207
下载积分: 2 下载次数: 1

代码说明:

该聊天程序包括服务器和客户端两部分,使用是MFC的CSOCKET类。 它可以使多个人聊天,其工作方式类似于网上聊天室,可以在同一台机器上启动 多个客户端。 客户端可以选择谈话对象,有32种动作,可以设置字体颜色,也可以"悄悄"地对某人说,对信息进行过滤。 服务器端可以“踢“人,并可以防止用户名称的重复。 该聊天程序是我在两星期内仓促完成的,其只是大四学期的一个VC作业,里面有许多不完善和不如意的地方, 比如还可以添加类似于ICQ的图象列表,以及发送文件的功能等。 我认为理想的聊天程序应结合ICQ和网上聊天室的优点,如果是为网站开发,还应该接收和显示网站的信息。 如果你正在设计一聊天软件,希望该源程序对你有所帮助。如果你有什么好的建议或编程的心得,咱们不妨交流交流。 本人十二分地愿意与所有编程爱好者结为好友。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 要求asp.net环境,并要在IIS里设置网站属性 可以用来限制图片等文件的盗链,0.32版可设置不限制域名 通过referrer判断,如果没有引用页返回真实文...
    要求asp.net环境,并要在IIS里设置网站属性 可以用来限制图片等文件的盗链,0.32版可设置不限制域名 通过referrer判断,如果没有引用页返回真实文件,如果引用页的域名不是本网站域名则返回wbtbForbidden.jpg这个图片,文件不存在返回wbtbNotFound.jpg这个图片 用法:http://www.xmlasp.net/WBAL/-Asp. Net environmental requirements and to the installed IIS Web site attributes can be used to limit pictures of the Irvine document, version 0.32 is not set restrictions on domain names through referrer judgment, if not applied to the real page document, if the pages of the Web site domain name is not returned wbtbForbidden . jpg the photographs, the file does not exist to return to the Photo wbtbNotFound.jpg Usage : http://www.xmlasp.net/WBAL/
    2022-01-25 16:37:23下载
    积分:1
  • 分隙ALOHA: 该协议下,用户在产生帧后总是等到下一帧时开始时才发送,所以,对于结构FrameTime_struct,其m_Frame[i](相对时间)总...
    分隙ALOHA: 该协议下,用户在产生帧后总是等到下一帧时开始时才发送,所以,对于结构FrameTime_struct,其m_Frame[i](相对时间)总是为零。发生冲突后同样等待一个随机时间重发。 所以只要满足当前帧时只有一帧发送,就可以发送成功,而不需考虑上一帧时的情况。 -points gap ALOHA : under the agreement, users always have a frame after frame until the next time when this started, so that the structure FrameTime_struct, m_Frame [i] (relative to time) always zero. After the conflict the same time waiting for a random re-issued. Therefore, as long as the current frame to meet only one this, we can successfully sent, and not considering one at the situation.
    2022-07-19 22:52:36下载
    积分:1
  • telnet server端源码,VB开发,可以clint连接。
    telnet server端源码,VB开发,可以clint连接。-telnet server-side source code, VB development, can be connected clint.
    2023-07-30 02:30:03下载
    积分:1
  • 本人写的syn洪水共击源代码
    本人写的syn洪水共击源代码-I wrote syn floods hit a total of source code
    2022-01-31 09:31:49下载
    积分:1
  • based. Net and AJAX technology administrator account of the voice mail : yurow P...
    基于.Net和AJAX技术的留言本 管理员帐号:yurow 密码:123456 -based. Net and AJAX technology administrator account of the voice mail : yurow Password : 123456
    2022-05-26 07:48:58下载
    积分:1
  • vc prepared by using multiple threads to achieve client
    vc++编写的用多线程实现客户-服务器结构的一个例子,有学习价值-vc prepared by using multiple threads to achieve client-server structure of an example, learn the value
    2023-05-05 20:35:03下载
    积分:1
  • 超快速的多文件传送源码,在本地局域网上可达到1.8Mb+的速度...
    超快速的多文件传送源码,在本地局域网上可达到1.8Mb+的速度-ultra-fast transmission of multi-source documents in the local LAN delivers up to speed
    2023-05-14 03:30:03下载
    积分:1
  • WINSOCK服务器端示例序说明 该序是基于对话框的,是采用一对多的方式进行连接的。 整个序主要由CServerDlg,CServerApp,CLis...
    WINSOCK服务器端示例程序说明 该程序是基于对话框编程的,是采用一对多的方式进行连接的。 整个程序主要由CServerDlg,CServerApp,CListenSocket,CClientSocket构成的。 (所有关于类的说明在代码中有) 下面简单介绍一下程序流程: 主程序调用CListenSocket类的对象来进行对Socket的监听,当收到请求时调用主程序的函数来处理相应的连接,把Socket放进队列中。 对于Socket的接收数据和断开连接是由消息来触发的,是通过调用基类CSocket中的虚函数重载来处理的。 注:详细的过程,在程序代码中均有注释!-Winsock server sample program note that the procedure was based on dialog programming, using one-to-many is the way to connect. The entire process by CServerDlg, CServerApp, CListenSocket, constitute the CClientSocket. (All categories on the note in code) The following outlines procedures have : main program called CListenSocket category to the target of the listening socket, when the call request is received when the main program functions to the corresponding connections, socket into the queue. Socket for the reception of data and disconnected from the news to trigger, by calling the base class CSocket the virtual function to handle the heavy load. Note : Details of the procedure code have Notes!
    2022-01-26 07:55:19下载
    积分:1
  • 网络抓包序Java源码
    网络抓包程序Java源码-network capturing Packet Java source code
    2022-04-28 09:11:35下载
    积分:1
  • 判断IP是否有效
    判断IP是否有效-To determine the validity of IP
    2023-03-26 07:50:03下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载