登录
首页 » Windows Socket编程 » 在P2P通信的例子,这个例子是用UDP协议…

在P2P通信的例子,这个例子是用UDP协议…

于 2022-05-14 发布 文件大小:28.96 kB
0 153
下载积分: 2 下载次数: 1

代码说明:

关于P2P通讯的例子,这个例子是用UDP协议写的穿透防火墙的例子-On the P2P communication examples, this example is written using UDP protocol to penetrate the firewall example

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

发表评论

0 个回复

  • 一个简单的Socket带外数据序(客户端和服务器序)
    一个简单的Socket带外数据程序(客户端和服务器程序)-a simple Socket-band data (client and server)
    2022-05-26 10:14:21下载
    积分:1
  • under the Windows network server program development, no doubt, Winsock complete...
    在WINDOWS下进行网络服务端程序开发,毫无疑问,Winsock 完成端口模型是最高效的。Winsock的完成端口模型借助Widnows的重叠IO和完成端口来实现,完成端口模型懂了之后是比较简单的,但是要想掌握Winsock完成端口模型,需要对WINDOWS下的线程、线程同步,Winsock API以及WINDOWS IO机制有一定的了解。如果不了解,推荐几本书:《Inside Windows 2000,《WINDOWS核心编程》,《WIN32多线程程序设计》、《WINDOWS网络编程技术》。在去年,我在C语言下用完成端口模型写了一个WEBSERVER,前些天,我决定用C++重写这个WEBSERVER,给这个WEBSERVER增加了一些功能,并改进完成端口操作方法,比如采用AcceptEx来代替accept和使用LOOKASIDE LIST来管理内存,使得WEBSERVER的性能有了比较大的提高。 -under the Windows network server program development, no doubt, Winsock completed port model is the most efficient. Winsock port model with complete preview of overlap and complete port IO to achieve complete port after the model to understand is a relatively simple, but want to know the complete Winsock port model, the need for the Windows threads, thread synchronization, Winsock API and Windows IO mechanism of a certain understanding. If we do not understand, recommended several books : "Inside Windows 2000," Windows core programming "," WIN32 multithreaded program
    2023-07-22 22:20:02下载
    积分:1
  • 与原始套接字的源代码
    用Raw Socket实现ping的程序源代码-with Raw Socket ping of source code
    2022-03-29 14:28:16下载
    积分:1
  • NETCAT的一个远连接界面,简化了命令行TELNET的烦恼
    NETCAT的一个远程连接界面,简化了命令行TELNET的烦恼-NETCAT a remote connection to the interface, simplifying the command line TELNET Pains
    2023-07-26 01:20:04下载
    积分:1
  • 一个贺卡在线发送的ASP序很有用哦,管理员密码是admin
    一个贺卡在线发送的ASP程序很有用哦,管理员密码是admin-an online greeting card sent to the ASP procedures useful oh, administrators password is admin
    2023-03-05 01:55: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
  • The Simple Times is an openly
    The Simple Times is an openly-available publication devoted to the promotion of the Simple Network Management Protocol. In each issue, The Simple Times presents technical articles and featured columns, along with a standards summary and a list of Internet resources. In addition, some issues contain summaries of recent publications and upcoming events.
    2022-02-25 15:27:52下载
    积分:1
  • Use CSocket remote desktop functionality. Process a bit complicated, mainly the...
    利用CSocket实现远程桌面功能。程序有点复杂,主要是CSocket的运用。 实现思路主要是:先将远程桌面捕获发回本地,然后在对话框中显示,将本地鼠标、键盘的动作变成命令输入,再发送到远程主机执行(实际上这一步是模拟出鼠标和键盘的操作),最后将远程桌面再次捕获发回本地,在对话框中显示出来。这样也就实现了系统自带的远程桌面的功能。-Use CSocket remote desktop functionality. Process a bit complicated, mainly the use of CSocket. To achieve the main idea is: first issued back to the local Remote Desktop Capture, and then in the dialog box shows that the local mouse and keyboard moves into a command input, and then sent to the remote host implementation (actually, this step is to simulate the mouse and keyboard operation), and finally re-captured the remote desktop back to the local, in the dialog box is displayed. This also enables the system comes with remote desktop functionality.
    2022-08-13 07:08:03下载
    积分:1
  • 用于利用windows socket构造自己的ARP数据包并发送,其中包括选择网卡能功能...
    用于利用windows socket构造自己的ARP数据包并发送,其中包括选择网卡能功能-windows socket for the use of their tectonic ARP packet and sent, including the choice of Ethernet capabilities.
    2022-07-02 01:30:07下载
    积分:1
  • source code of leach protocol part uamps
    source code of leach protocol part uamps
    2022-07-17 11:52:48下载
    积分:1
  • 696518资源总数
  • 106164会员总数
  • 18今日下载