-
信使小精灵,是一个简易的聊天工具。主要是演示了网络编程的主要步骤。本程序使用封装好的函数库,使得应用层不需要考虑网络消息是如何被接受和发送的,也不需要考虑数据粘...
信使小精灵,是一个简易的聊天工具。主要是演示了网络编程的主要步骤。本程序使用封装好的函数库,使得应用层不需要考虑网络消息是如何被接受和发送的,也不需要考虑数据粘包和丢包的刺手问题,你只要调用相应的函数就可以了。函数库为你做好了这些工作。你只需要定义自己的协议头和消息结构体,定义好网络消息的回调函数就可以了。-messenger elf is a simple chat tools. A major demonstration is the main network programming steps. The programs use Packaging good libraries, makes application layer need not consider the network news is how it has been accepted and sent, and do not need sticky packets of data and packet loss of a thorn in hand, as long as you call the corresponding function on it. Functions well as your work. You only need to define its own agreement head and the structure of news, the definition of a good network news callback function on it.
- 2022-01-26 00:49:46下载
- 积分:1
-
IOCP(I/O Completion Port)Winsock例子
IOCP(I/O Completion Port)Winsock例子-IOCP(I/O Completion Port)Winsock example
- 2022-02-21 01:52:01下载
- 积分:1
-
C# FTP,Socket 实现的
C# FTP,Socket 实现的-C# FTP, the Socket
- 2022-05-06 05:36:22下载
- 积分:1
-
初级
初级-建立虚拟硬盘-junior-establish virtual drive
- 2022-03-04 04:06:33下载
- 积分:1
-
ASP初步――很好的ASP入门教程 通往网络编程的桥梁!
ASP初步――很好的ASP入门教程 通往网络编程的桥梁!-ASP-- ASP good entry Network Programming Guide to the bridge!
- 2022-03-22 00:23:21下载
- 积分:1
-
利用WINSOCK的通信协议 用VC++编写
利用WINSOCK的通信协议 用VC++编写-WINSOCK use the communication protocol used VC++ Prepared
- 2022-05-18 05:19:38下载
- 积分:1
-
动态更改IP的简单方法
通过调用windows2000系统自带的netsh命令来实现更改本地IP地址、子网掩码、默认网关等信息....
动态更改IP的简单方法
通过调用windows2000系统自带的netsh命令来实现更改本地IP地址、子网掩码、默认网关等信息.-The tendency changes IP the straightforward procedure Through transfers netsh which the windows2000 system brings to order to realize change local information and so on IP address, sub- net covers code, tacitly approves gateway
- 2022-04-20 15:06:28下载
- 积分:1
-
一个聊天室程序,分为服务器与客户端两部分,更重要的是,附带开发文档,很不错的。
一个聊天室程序,分为服务器与客户端两部分,更重要的是,附带开发文档,很不错的。-A chat room procedures, server and client into two parts and, more importantly, with the development of the document, it is good.
- 2022-09-29 00:55:04下载
- 积分:1
-
网站首页设计时的友情链接,方便用户登陆本网站的友情网站.可以增加网站的浏览量.扩大宣传面...
网站首页设计时的友情链接,方便用户登陆本网站的友情网站.可以增加网站的浏览量.扩大宣传面-Home Design Links at the convenience of users log on to the website of friendship site. Increase website hits. To expand the outreach
- 2022-05-16 20:54:31下载
- 积分: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