-
UDP发送和接收
在Windows环境下,基于VC开发UDP协议的发送和接收实例,这个程序不仅可以学习和了解网络中通信协议的工作,而且对于学习者来说,是一个不错的调试工具。
- 2023-08-11 05:25:04下载
- 积分:1
-
这是一个应用Socket做的简单聊天室程
这是一个应用Socket做的简单聊天室程-Socket This is an application process to do simple chat room
- 2022-03-30 23:45:48下载
- 积分:1
-
VC开发的全双工Socket通讯程序源码
VC开发的全双工Socket通讯程序源码
-VC developed full-duplex communication procedures Socket source
- 2022-09-15 18:10:04下载
- 积分: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
-
使用JAVA I/O和 NI/O编写的两种网络ECHO服务器,用以学习两种IO的不同编程方法,体验基于阻塞与非阻塞IO开发高性能网络应用程序的具体实例.Java...
使用JAVA I/O和 NI/O编写的两种网络ECHO服务器,用以学习两种IO的不同编程方法,体验基于阻塞与非阻塞IO开发高性能网络应用程序的具体实例.Java平台传统的I/0系统基于byte(字节)和Stream(数据流)。这种模式下的I/O 操作以字节为单位,以流的方式处理数据。而NIO( New I/O )以块的方式处理数据,它的系统操作面向Buffer(缓冲),Channel(通道)和Selector(选择器),不再是字节,这种模式利用了操作系统管理内存和文件的方式,并将一些耗时操作直接转移给操作系统,使JavaI/O的速度得以提高、性能得到了明显的改善
-The use of JAVA I/O and NI/O, prepared by two types of network servers ECHO to learn two different programming methods IO experience obstructive and non-blocking IO based on the development of high-performance network applications specific examples. Java platform for the traditional I/0 system is based on the byte (byte) and Stream (data streams). This mode of I/O operation in bytes in order to deal with data flow way. The NIO (New I/O) blocks the way to deal with data, its system for Buffer (buffer), Channel (channel) and the Selector (selector), is no longer a byte, this mode of use of operating system management of memory and the manner in which documents, and some time-consuming operation of a direc
- 2022-02-09 15:18:54下载
- 积分:1
-
socket编程指南,编纂socket是用函数信息.
socket编程指南,编纂socket是用函数信息.-socket programming guide is a compilation of socket function information.
- 2022-09-04 19:55:02下载
- 积分:1
-
这是完整的一个C/S的客户服务端程序!但是我希望加点功能!请大家帮帮忙,“我要做的是客户端和服务器正常运行的情况下,如果网络断了,(比如说我把网络弄掉了,然后再...
这是完整的一个C/S的客户服务端程序!但是我希望加点功能!请大家帮帮忙,“我要做的是客户端和服务器正常运行的情况下,如果网络断了,(比如说我把网络弄掉了,然后再接好)过了一会网络恢复正常,客户端能自动连接到服务器端,不能人工干涉! 我查了一些资料,在VC里有一个函数OnTimer(nIDEvent)可以定时产生事件!可以实现这个功能,但是我用了,还是连不上,请大家帮帮忙吧!做好后给我发到我的邮箱里!谢谢!-This is a complete C/S programe,but I hope put more function into it.Please help me.Fllowing is I ll want to do.When client is communicating with server normally,the network link is down. After while the link recovery(ie,I take the cable out from the computer then plug it in.)The Client can reconnect the server automatically not redo by human.I study some reference information to do it.There is a function OnTimer(nIDEvent) in VC can send event message periodically.But I still can t reconnect.Please help me to do it and then mail to me. Thanks.
- 2022-03-31 05:36:33下载
- 积分:1
-
纯ALOHA协议
在该协议下,用户只要有帧产生,就会传送出去,发生冲突时,就等待一个随机时间后再重发。
所以对当前帧时,只有两种情况下可以发送成功:...
纯ALOHA协议
在该协议下,用户只要有帧产生,就会传送出去,发生冲突时,就等待一个随机时间后再重发。
所以对当前帧时,只有两种情况下可以发送成功:
1)当前帧时只有一帧要发送,且当前帧时的前一帧时无帧发送;
2)当前帧时只有一帧要发送(发送时刻为t),且前一帧时的最后一帧的发送时间不在(t- FRAMETIME)~ t这段时间内。
其他情况下都会产生冲突。
发生冲突时,错误帧继续传送,用户重新发送帧,设定一个随机数Rt,将该帧添加到第Rt/ FRAMETIME帧时上去,并设该帧的相对时间为Rt% FRAMETIME。这样即相当于用户等待一随机时间后重发。
对每一帧时进行上述控制,最终可得到成功发送的次数Suc,将其除以Suc = Suc /ARRAYLENGTH即得平均每帧时发送成功的帧数。
对于不同G,得到不同FrameArray,所得的Suc也不同,用一个数组来保存G与Suc的对应关系,再将其画出来。
-pure ALOHA agreement under the agreement, as long as users have a frame, it will transmit out, conflict, will wait for a random period of time before re-issued. Therefore, the current frame, there are only two circumstances can this success : 1) the current frame only one to send, and the current frame before one-time frame sent; 2) the current frame only to send a (t this moment), but before a final of a transmission time not (t-FRAMETIME) ~ t this time. Other cases will have conflict. Conflict, to continue to disseminate the wrong frame, users re-sending fram
- 2022-01-21 18:08:46下载
- 积分:1
-
该软件是一个类似串口调试助手的网口调试软件。软件实现TCP/IP下的数据发送和接收功能,可以作为单片机,嵌入式网口程序开发的调试工具...
该软件是一个类似串口调试助手的网口调试软件。软件实现TCP/IP下的数据发送和接收功能,可以作为单片机,嵌入式网口程序开发的调试工具-The software is similar to a serial debugging assistant net mouth debugging software. Software TCP/IP of the sending and receiving of data that can be used as a microcontroller, I Embedded Network Programming Debugging Tools
- 2022-03-19 23:19:59下载
- 积分:1
-
此文件包含组成 pointDistance 应用程序
的每个文件的内容摘要。对输入的点计算任意两点之间的距离...
此文件包含组成 pointDistance 应用程序
的每个文件的内容摘要。对输入的点计算任意两点之间的距离-This file contains the application components pointDistance summary of the contents of each file. Calculation of input points the distance between any two
- 2023-03-28 05:20:03下载
- 积分:1