登录
首页 » Windows Socket编程 » 很好……你可以学到更多的东西…

很好……你可以学到更多的东西…

于 2023-04-09 发布 文件大小:273.79 kB
0 223
下载积分: 2 下载次数: 1

代码说明:

两线程同时监控服务器的两个端口,从其中一个端口接收到得数据都会通过另一端口转发给另一客户端。-It s very good...you can learn much more...

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

发表评论

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
  • 可以同步网络时间,分服务器端和客户端两个版本。完整vc序...
    可以同步网络时间,分服务器端和客户端两个版本。完整vc程序-network time synchronization, and server-client versions. Integrity vc procedures
    2022-05-24 23:35:59下载
    积分:1
  • 网上书店(源码与文档)后台管理:/manage 后台管理用户名:admin 密码:admin...
    网上书店(源码与文档)后台管理:/manage 后台管理用户名:admin 密码:admin-Online Bookstore (source code and documentation) Admin:/manage Admin Username: admin Password: admin
    2022-01-20 22:44:53下载
    积分:1
  • chatroom application coded by VC.both server side and client side.
    用vc实现的网络编程!聊天程序的客户端服务端都有!并且可灵活应用!可谓是一个实用程序!-chatroom application coded by VC.both server side and client side.
    2022-04-08 18:21:09下载
    积分:1
  • 一个用.net写的无刷新取得数据库数据的例
    一个用.net写的无刷新取得数据库数据的例程。-A use. Net write-free access to the database data refresh routines.
    2022-07-23 22:53:41下载
    积分:1
  • 初学的时候做的一个聊天系统,可以多人,可以检测IP等
    初学的时候做的一个聊天系统,可以多人,可以检测IP等-Learning when to do a chat system that people can detect the IP, etc.
    2023-02-14 15:55:04下载
    积分:1
  • 简易留言板序,基础篇,只有最简单的功能
    简易留言板程序,基础篇,只有最简单的功能-Simple message board procedures, the basis of articles, only the most simple function
    2022-07-07 18:59:18下载
    积分:1
  • java写的sslvpn代码,现在比较流行的一种VPN技术,附带有安装说明...
    java编写的sslvpn代码,现在比较流行的一种VPN技术,附带有安装说明-sslvpn prepared by the code, a more popular form of VPN technology, a fringe install
    2022-02-04 11:16:28下载
    积分:1
  • send and receive news : you can set ports, baud rate, parity and other parameter...
    通过设置发送并接收消息:可以设置端口,波特率,奇偶校验等参数.用TCP/IP实现客户/服务器模式.-send and receive news : you can set ports, baud rate, parity and other parameters. Using TCP/IP client/server model.
    2022-02-20 05:02:37下载
    积分:1
  • 基本网络实例Internet文件下载
    基本网络编程实例Internet文件下载-basic network programming examples Internet File Download
    2022-03-02 19:59:00下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载