登录
首页 » Windows Socket编程 » 利用socket实现的一个小的聊天室的程序,多线程,mfc界面

利用socket实现的一个小的聊天室的程序,多线程,mfc界面

于 2022-05-05 发布 文件大小:106.06 kB
0 172
下载积分: 2 下载次数: 2

代码说明:

利用socket实现的一个小的聊天室的程序,多线程,mfc界面-use socket achieve a small chat room procedures, multithreading, mfc interface

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

发表评论

0 个回复

  • 1-持续CSMA协议下,当一个用户要发送数据时,它首先侦听信道,看是否有其他站点在传送。如果信道忙,就持续等待直到信道空闲时,便将数据送出。若发生冲突,就等待一个随机长的时间,然后重新侦听。 对于这种协议,先考虑当前帧i时的前一帧时i-1,得到前一帧时的最后一帧frame0(相对时间最大的帧)的相对时间dt0,然后再在当前帧时查看有哪些帧的相对时间会小于dt0,这些帧若是发送就会与frame0发生冲突,所以这些帧就进入持续等待状态,这些帧并没有发送。再考虑当前帧余下的帧(dt > dt0),它们中的第一帧侦听到信道处于空闲状态,所以就发送,而其他的帧由于第一帧的发送又处于等待状态。若有大于或等于2个帧的相对时间相等,且它们又同时侦听到信道空闲时,就会同时发送而导致冲突,冲突发生后的处理方法同上两个协议的一样。 -1- CSMA continued under the agreement, when a user to send data, it first interception Channel to see if there are other sites in transmission. If Channel busy, continuing to wait until the idle channel, and put more information out. If there is conflict, it is a long wait for a random time, then re-interception. Such agreements, to consider the current frame i am one of the former when i-1, be a time before the final one frame0 (relative to the time frame) the relative dt0 time, and then when the current frame to detect what the relative time frame will be less than dt0, these frames will be sent if and frame0 conflict, th
    2022-03-03 08:55:18下载
    积分:1
  • 这是一个用java写的网络抓包序,主要是通过windows的接口函数来捕获数据包,并进行简单的分析...
    这是一个用java编写的网络抓包程序,主要是通过windows的接口函数来捕获数据包,并进行简单的分析-This is a java with the preparation of procedures for capturing Packet networks, mainly through the windows of the interface functions to capture data packets, and a simple analysis
    2023-07-03 23:05:03下载
    积分:1
  • winsock实现的可以发送email的代码,基于STMP的协议,完全的原创.不用任何控件或MFC,适合嵌入有需要发送Email的序....
    winsock实现的可以发送email的代码,基于STMP的协议,完全的原创.不用任何控件或MFC,适合嵌入有需要发送Email的程序.-winsock wife of mother
    2022-02-03 19:18:41下载
    积分:1
  • vb超快速的多文件传送源码,在本地局域网上可达到1.8Mb+的速度...
    vb超快速的多文件传送源码,在本地局域网上可达到1.8Mb+的速度-vb ultra-fast transmission of multi-source documents in the local LAN delivers up to speed
    2022-03-21 06:18:44下载
    积分:1
  • ASP初步――很好的ASP入门教 通往网络的桥梁!
    ASP初步――很好的ASP入门教程 通往网络编程的桥梁!-ASP-- ASP good entry Network Programming Guide to the bridge!
    2022-03-22 00:23:21下载
    积分:1
  • 用VB.NET写的简易BBS
    用VB.NET编写的简易BBS-with VB.NET summary prepared by the BBS
    2022-12-26 07:40:03下载
    积分:1
  • 一份用vc实现的封装完整的异步网络连接动态链接库,非常实用。...
    一份用vc实现的封装完整的异步网络连接动态链接库,非常实用。-Achieved with the vc in a complete package, an asynchronous network connection dynamic link library, very useful.
    2022-11-08 12:30:04下载
    积分:1
  • c++builder 电子邮件
    c++builder 电子邮件编程-c builder e-mail program
    2022-04-24 15:52:10下载
    积分:1
  • Prepared to use MFC a TRACEROUT procedure is very easy to use
    一个用MFC编写的TRACEROUT程序,十分好用-Prepared to use MFC a TRACEROUT procedure is very easy to use
    2023-09-05 12:00:04下载
    积分:1
  • 用VC++制作一个简单的局域网消息发送工
    用VC++制作一个简单的局域网消息发送工程-VC produced a simple LAN messaging works
    2022-05-14 02:53:51下载
    积分:1
  • 696518资源总数
  • 106235会员总数
  • 12今日下载