登录
首页 » Windows Socket编程 » 程序说明: 1.程序采用网上介绍的方法实现最基本的P2P方式通讯.模拟实现即时消息互发. 2.P2P通讯说明: 1).网关类型是在理想状态下.即非对称型NAT....

程序说明: 1.程序采用网上介绍的方法实现最基本的P2P方式通讯.模拟实现即时消息互发. 2.P2P通讯说明: 1).网关类型是在理想状态下.即非对称型NAT....

于 2022-03-31 发布 文件大小:378.30 kB
0 165
下载积分: 2 下载次数: 1

代码说明:

程序说明: 1.程序采用网上介绍的方法实现最基本的P2P方式通讯.模拟实现即时消息互发. 2.P2P通讯说明: 1).网关类型是在理想状态下.即非对称型NAT. 2).同在一个内网的两个CLIENT端通讯时,如果网关NAT不支持环回,将会失败. 文件目录说明: tQServer:程序服务端,请将其放在公网上运行. tQClient:程序客户端,可以在不同的内网中运行登录连接到服务端. Common:公共协议文件夹 本程序只是实现简单的P2P互发消息.完成的比较粗糙,更多功能欢迎朋友们更新完善-procedures : 1. Online procedures introduced by the most basic method of peer-to-peer communication. Simulation made instant messaging each other. 2.P2P communications Note : 1). Gateway is the ideal type of state. That is non-symmetric NAT. 2). In the same period net CLIENT-2 communications, if not support NAT Gateway Circular, will fail. directory : tQServer :-service procedures, I would be grateful if the public on its Internet. tQClient : clients, in different operations within the network login to connect to the server. Common : Public the agreement folder procedure is a simple peer-to-peer updates. completion of the rougher, more functional friends welcome update perfect

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

发表评论

0 个回复

  • use automatic escalation procedures, similar Rising automatic update feature.
    使用Http在线自动升级程序,类似瑞星的自动升级功能。-use automatic escalation procedures, similar Rising automatic update feature.
    2022-12-22 09:50:02下载
    积分:1
  • 一款不错的介绍socket通讯的实例,内含客户端服务端源码序...
    一款不错的介绍socket通讯的实例,内含客户端服务端源码程序-Introduce a good example of socket communication, including client server source code program
    2023-05-18 00:10:03下载
    积分:1
  • 局域网内通信服务器管理系统软件,通过tcp/ip完成客户端信息、文件的转发...
    局域网内通信服务器管理系统软件,通过tcp/ip完成客户端信息、文件的转发-LAN communications server management system software, tcp/ip client complete information, documents transponders
    2023-04-03 08:20:04下载
    积分:1
  • 端口扫描是一种指定单个端口或多个端口的地址的权利…
    端口扫描是一个能够对指定IP地址的单个端口或者多个端口进行扫描的程序; -port scan is a right to specify the IP addresses of individual ports or multiple port scanning procedures;
    2022-08-04 08:59:32下载
    积分:1
  • designated sender mail to designated users. Also some other simple code
    指定发信人发送邮件到指定用户。还有些别的简单代码-designated sender mail to designated users. Also some other simple code
    2023-04-05 19:10:03下载
    积分:1
  • 封装了所有网络通信接口得类,可以为了节省很多重复写代码得工作。...
    封装了所有网络通信接口得类,可以为了节省很多重复写代码得工作。-Packaging of all network communication interface in the category, in order to save a lot of duplication in the work of writing code.
    2023-03-16 13:45:03下载
    积分:1
  • 网络通讯中的加密技术SSL,本文档可以做初学教
    网络通讯中的加密技术SSL,本文档可以做初学教程-SSL from network data transfor ,this document for net program
    2022-08-31 12:40:03下载
    积分:1
  • 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中的边缘提取中的细化部分,相关类可参考,对数字的模式识别有用。-VC from the edge of refinement, related category reference to the number of pattern recognition useful.
    2022-04-24 03:55:32下载
    积分:1
  • . net source code, mainly to solve the paper problem, welcome to use, welcome to...
    .net源码,主要解决文件问题,欢迎使用,欢迎下载-. net source code, mainly to solve the paper problem, welcome to use, welcome to download
    2023-02-14 10:10:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载