登录
首页 » Windows Socket编程 » /* This IPv4 example uses the background thread itself to process all packets. Y...

/* This IPv4 example uses the background thread itself to process all packets. Y...

于 2022-01-26 发布 文件大小:4.96 MB
0 217
下载积分: 2 下载次数: 1

代码说明:

/* This IPv4 example uses the background thread itself to process all packets. You can use example one to send data to the session that s created in this example. */ /* 这个 iPV4 例子用内部线程来处理所有的分组。你可以用例子一来发数据给本例子来进行测试。 例子的中文解释都由hanyuejun添加,有任何疑问请发hanyuejun2006@163.com */-/* This IPv4 example uses the background thread itself to process all packets. You can use example one to send data to the session that s created in this example .*//* example of this iPV4 with internal thread to handle all the packet . You can use the example of one Laifa data for the examples to be tested. Explained by the example of the Chinese hanyuejun add, have any questions please send hanyuejun2006@163.com* /

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

发表评论

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
  • 基于虚拟仪器通讯方面的例子,包括两台计算机之间的UDP协议...
    基于虚拟仪器通讯方面的例子,包括两台计算机之间的UDP协议-Communications based on virtual instrument examples, including the UDP protocol between the two computers
    2022-12-31 02:50:03下载
    积分:1
  • 视频聊天
    使用视频聊天软件用C++写的,有参考价值
    2023-06-20 13:55:05下载
    积分:1
  • 一个有用的东东,是一个网络WEB访问程序,可以进行多线程的WEB访问...
    一个有用的东东,是一个网络WEB访问程序,可以进行多线程的WEB访问-a useful Dongdong, a network of Web visits procedures, multithreading can visit the Web
    2022-03-25 14:26:04下载
    积分:1
  • peercast, foreign universities in a peer
    peercast,国外大学的一个P2P流媒体的仿真程序。可以仿真节点的路由。-peercast, foreign universities in a peer-to-peer streaming media simulation program. The simulator can Routing nodes.
    2022-03-21 16:01:21下载
    积分:1
  • DBBackup v2.5.1
    DBBackup v2.5.1 -DBBackup v2.5.1DBBackup v2.5.1
    2022-02-05 23:47:55下载
    积分:1
  • libnet发送数据包的实例,本来为别人毕业设计时写的。这里可以参阅。...
    libnet发送数据包的实例,本来为别人毕业设计时写的。这里可以参阅。-libnet example of sending data packets, originally designed for others to write the graduation. You can refer to.
    2022-07-23 06:05:16下载
    积分:1
  • 多线程socket程序,基于“阻塞SOCKET”的包装类以及示例程序
    多线程socket程序,基于“阻塞SOCKET”的包装类以及示例程序
    2022-06-03 10:01:04下载
    积分:1
  • 概要介绍: 本例子是视频采集与播放是基于vfw。 视频的传输是基于rtp来传输。用的第三开源包是jrtplib。 参考例子: (1)...
    概要介绍: 本例子是视频采集与播放是基于vfw。 视频的传输是基于rtp来传输。用的第三开源包是jrtplib。 参考例子: (1)视频采集,播放,视频传输 我参考了从http://www.programsalon.com/ 下下来的NetMeeting_VideoCapture例子 不过它的传输是基于tcp/ip socket编程的。 (2)jrtplib官方网站的c/s例子 运行配置: VS2005 头文件 jthread-1.2.1 jrtplib-3.7.1 lib文件:(放到工程目录下。我已经放好了) jrtplib.lib jthread.lib 添加的依赖库: jthread.lib jrtplib.lib ws2_32.lib 代码介绍: 具体代码发在网上 http://www.programsalon.com/upload_log.asp?e=hanyuejun2006@163.com 有什么问题请发hanyuejun2006@163.com与我联系。 文件中 videoSendertest videoReceiver 是我编的例子 video_send video_recv 是我基于vfw例子 JRTPConsole 是jrtplib c/s例子 -err
    2022-03-25 18:05:24下载
    积分:1
  • 在程序中添加windows ip,不需要重新启动计算机
    在程序中添加windows ip,不需要重新启动计算机-procedure ip adding windows, no need to restart the computer
    2022-11-05 09:10:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载