Location:
Search - udp byte
Search list
Description: 本程序可提供聊天室聊天功能。采用tcp\\ip以及udp协议,运用windows 套字节进行构建。可实现远程多人聊天。-this can provide chat rooms chatting. Using tcp \\ ip and udp agreement sets using windows byte constructed. People can bring about long-distance chat.
Platform: |
Size: 52550 |
Author: wangyao |
Hits:
Description: 计算校验和
校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP和TCP 等等。计算这些校验和的算法称为网际校验和算法,简单来说就是:把被校验的数据16位进行累加,然后取反码,若数据字节长度为奇数,则数据尾部补一个字节的0以凑成偶数。
由于从输入文件读入的数据不能直接满足计算校验和的条件,所以首先对从文件读入缓冲区的数据进行预处理,即读入缓冲区时忽略空格。由于累加是按16位进行的,所以每次从缓冲区中读出4个字符,并将字符转换成对应的16进制数字,如此依次累加,直至数据全部读完。
还有一种情况,即如果数据长度为奇数个字节,则需要判断,并补0累加。程序中利用的是缓冲区长度计数器i和当前读取到计数器j判断数据长度是否为奇数。即如果数据长度为偶数,则读完数据时当前读取到计数器j的值应与缓冲区长度i相等,而如果数据长度为奇数,则读完数据时,当前读取到计数器j>缓冲区长度i,此时需将缓冲区中剩余的两个字符读出,并补0,转换成相应16进制数以后参与累加。
当累加结束后,将累加和的16位以上数据位移下再进行一次累加,并对最后累加和取反即得所求校验和。
-calculated checksum checksum algorithm Description : To ensure the network transmission of data reliability, in many of the agreements are set up and calibration, for example : IPv4, ICMPv4, IGMPV4, ICMPv6. UDP and TCP so on. Calculating checksum algorithm called the Internet checksum algorithm, the simple answer is : as has been the calibration data for 16 cumulative, and then take the anti-code, if the data byte length of the odd, data will make up the tail of a 0 byte to make up even. As the input file is read into the data can not be directly calculated checksum meet the conditions, So, the first right from the document read into the buffer data preprocessing, read into the buffer zone that is overlooked spaces. As the cumulative basis for the 16, so every time from the buffer read out
Platform: |
Size: 88943 |
Author: 阿蒙 |
Hits:
Description: 1.能够侦听所有进出本主机的数据包完整显示数据包头信息和内容
MAC层支持:以太帧
网络层支持:IP,ARP,RARP,ICMP
传输层支持:TCP,UDP
2. 以十六进制显示报文每个字节内容(包括头和数据),指定某个字段时,使相应字节高亮显示。如点击IP Source Address(在解析树中),则相应的四个字节高亮。
3. 可以设置过滤,指定IP地址,指定报文类型(TCP,UDP,ICMP,ARP,RARP),指定方向(A地址->B地址,B地址->A地址,A地址<->B地址),侦探相应的数据包。
4. 统计过滤后收到的报文个数和总字节数,并显示整个网络建议状况(以进度条显示流量,状态栏显示数据)
5. 对分成多个TCP传输的文件重组,去除头信息,得到数据内容,并可以显示或输出到文件。例如,FTP传输RM时,可以将探测到的TCP包重组并保存至文件,就可以观看了。-1. Monitors all access to the mainframe data packet integrity of the data shows that the information and content Baotou MAC layer support : Ethernet frame network layer support : IP, ARP, RARP, ICMP transport layer support : TCP, UDP 2. 16 to 229 shows each byte packet content (including the first and data), a designated field, so that the corresponding byte highlighter. If it IP Source Address (analytic tree), the corresponding 4 byte highlighter. 3. Can provide filtration, the designated IP address, designated packet type (TCP, UDP, ICMP, ARP, RARP), the designated direction (address A -
Platform: |
Size: 477390 |
Author: 徐新 |
Hits:
Description: Testing TCP and UDP socket servers using C# and .NETWhen you re developing a TCP/IP server application it s easy to test it poorly. It s easy to fire requests into a server, check the responses and assume that s enough. Even if you re testing using the actual production client application you may find that you are failing to fully test the server under heavy load or unusual network conditions. You may be using two or more machines, but your development network probably doesn t cause the kind of packet fragmentation and delays that you might encounter in the wild. Often when testing in the development environment your server only ever receives complete, distinct messages, and this can lead novice developers to assume that this is how it always is. As we pointed out in a previous article, the server developer is always responsible for breaking up the TCP byte stream into protocol specific chunks.
Platform: |
Size: 111143 |
Author: 王小文 |
Hits:
Description: Testing TCP and UDP socket servers using C# and .NETWhen you re developing a TCP/IP server application it s easy to test it poorly. It s easy to fire requests into a server, check the responses and assume that s enough. Even if you re testing using the actual production client application you may find that you are failing to fully test the server under heavy load or unusual network conditions. You may be using two or more machines, but your development network probably doesn t cause the kind of packet fragmentation and delays that you might encounter in the wild. Often when testing in the development environment your server only ever receives complete, distinct messages, and this can lead novice developers to assume that this is how it always is. As we pointed out in a previous article, the server developer is always responsible for breaking up the TCP byte stream into protocol specific chunks.
Platform: |
Size: 110592 |
Author: 王小文 |
Hits:
Description: 本程序可提供聊天室聊天功能。采用tcp\ip以及udp协议,运用windows 套字节进行构建。可实现远程多人聊天。-this can provide chat rooms chatting. Using tcp \ ip and udp agreement sets using windows byte constructed. People can bring about long-distance chat.
Platform: |
Size: 1627136 |
Author: wangyao |
Hits:
Description: 计算校验和
校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP和TCP 等等。计算这些校验和的算法称为网际校验和算法,简单来说就是:把被校验的数据16位进行累加,然后取反码,若数据字节长度为奇数,则数据尾部补一个字节的0以凑成偶数。
由于从输入文件读入的数据不能直接满足计算校验和的条件,所以首先对从文件读入缓冲区的数据进行预处理,即读入缓冲区时忽略空格。由于累加是按16位进行的,所以每次从缓冲区中读出4个字符,并将字符转换成对应的16进制数字,如此依次累加,直至数据全部读完。
还有一种情况,即如果数据长度为奇数个字节,则需要判断,并补0累加。程序中利用的是缓冲区长度计数器i和当前读取到计数器j判断数据长度是否为奇数。即如果数据长度为偶数,则读完数据时当前读取到计数器j的值应与缓冲区长度i相等,而如果数据长度为奇数,则读完数据时,当前读取到计数器j>缓冲区长度i,此时需将缓冲区中剩余的两个字符读出,并补0,转换成相应16进制数以后参与累加。
当累加结束后,将累加和的16位以上数据位移下再进行一次累加,并对最后累加和取反即得所求校验和。
-calculated checksum checksum algorithm Description : To ensure the network transmission of data reliability, in many of the agreements are set up and calibration, for example : IPv4, ICMPv4, IGMPV4, ICMPv6. UDP and TCP so on. Calculating checksum algorithm called the Internet checksum algorithm, the simple answer is : as has been the calibration data for 16 cumulative, and then take the anti-code, if the data byte length of the odd, data will make up the tail of a 0 byte to make up even. As the input file is read into the data can not be directly calculated checksum meet the conditions, So, the first right from the document read into the buffer data preprocessing, read into the buffer zone that is overlooked spaces. As the cumulative basis for the 16, so every time from the buffer read out
Platform: |
Size: 89088 |
Author: |
Hits:
Description: 1.能够侦听所有进出本主机的数据包完整显示数据包头信息和内容
MAC层支持:以太帧
网络层支持:IP,ARP,RARP,ICMP
传输层支持:TCP,UDP
2. 以十六进制显示报文每个字节内容(包括头和数据),指定某个字段时,使相应字节高亮显示。如点击IP Source Address(在解析树中),则相应的四个字节高亮。
3. 可以设置过滤,指定IP地址,指定报文类型(TCP,UDP,ICMP,ARP,RARP),指定方向(A地址->B地址,B地址->A地址,A地址<->B地址),侦探相应的数据包。
4. 统计过滤后收到的报文个数和总字节数,并显示整个网络建议状况(以进度条显示流量,状态栏显示数据)
5. 对分成多个TCP传输的文件重组,去除头信息,得到数据内容,并可以显示或输出到文件。例如,FTP传输RM时,可以将探测到的TCP包重组并保存至文件,就可以观看了。-1. Monitors all access to the mainframe data packet integrity of the data shows that the information and content Baotou MAC layer support : Ethernet frame network layer support : IP, ARP, RARP, ICMP transport layer support : TCP, UDP 2. 16 to 229 shows each byte packet content (including the first and data), a designated field, so that the corresponding byte highlighter. If it IP Source Address (analytic tree), the corresponding 4 byte highlighter. 3. Can provide filtration, the designated IP address, designated packet type (TCP, UDP, ICMP, ARP, RARP), the designated direction (address A-
Platform: |
Size: 477184 |
Author: 虚心 |
Hits:
Description: 利用WINSCOKET 的UDP协议进行文件传输程序,支持断点续传 值得学习-Using the UDP protocol WINSCOKET file transfer procedures, in support of HTTP worth learning
Platform: |
Size: 4651008 |
Author: john |
Hits:
Description: Read Hex string from file, convert to byte array and send using udp multicast socket
Developed by Borland c++ builder 6.0
-Read Hex string from file, convert to byte array and send using udp multicast socket
Developed by Borland c++ builder 6.0
Platform: |
Size: 302080 |
Author: lika |
Hits:
Description: 网络编程,一定离不开套接口;那什么是套接口呢?在Linux下,所有的I/O操作都是通过读写文件描述符而产生的,文件描述符是一个和打开的文件 相关联的整数,这个文件并不只包括真正存储在磁盘上的文件,还包括一个网络连接、一个命名管道、一个终端等,而套接口就是系统进程和文件描述符通信的一种 方法。目前最常用的套接口是字:字节流套接口(基于TCP)和数据报套接口(基于UDP),当然还有原始套接口,原始套接口提供TCP套接口和UDP套接 口所不提供的功能,如构造自己的TCP或UDP分组,我们这里主要介绍字节流套接口和数据报套接口。-
Network programming, they must take sets of interfaces then what is a socket then? In Linux, all the I/O operations are generated through the read and write file descriptors, file descriptors and open a file associated with an integer, this document does not only include the real file is stored on disk, but also includes a network connection, a named pipe, a terminal and so on, while the socket is a system process and file descriptors communication methods. The most commonly used interface is a set of words: byte stream socket (based on TCP) and datagram sockets (based on UDP), of course, the original set of interfaces, the original set of interface provides TCP socket and UDP sockets are not provided by the features, such as TCP or UDP construct their own group, we are here mainly introduces the byte stream sockets and datagram sockets.
Platform: |
Size: 8192 |
Author: rason |
Hits:
Description: NetTalk是一个适用于局域网和因特网的可视软件
一. 开发环境
Windows2000 Server & Visual C++6.0 & SDK
+自开发的CWndX类库(相当于简化的MFC涉及窗口的部分)
二. 支持环境
Windows98/ME/2000/XP
三. 所涉及协议和标准
网络传输采用UDP协议(被封装成支持超时重传等机制的UDP类),音频压缩采用G.729标准,视频压缩采用H.263标准
四. 性能参数
以音频帧为基准,每帧音频数据有240个采样点,时间为240*1000/8000=30ms,8000为音频的采样率。
数据接收端队列缓冲延迟:30*3=90ms
数据发送端录音延迟:30ms
数据压缩解压耗时:<40ms
网络延迟:<100ms(我想校网情况应该不错 )
总延迟:<260ms
根据VOIP标准,总延迟<300ms是人可以接受的,以上计算是保守的,实际情况可能会好得多。
带宽需求
数据类型 带宽需求(byte/sec) 带宽总需求(Kbyte/sec)
音频 1000*2 ~8.98*2
视频 ~8000*2
帧头 ~200*2 -NetTalk是一个适用于局域网和因特网的可视软件
一. 开发环境
Windows2000 Server & Visual C++6.0 & SDK
+自开发的CWndX类库(相当于简化的MFC涉及窗口的部分)
二. 支持环境
Windows98/ME/2000/XP
三. 所涉及协议和标准
网络传输采用UDP协议(被封装成支持超时重传等机制的UDP类),音频压缩采用G.729标准,视频压缩采用H.263标准
四. 性能参数
以音频帧为基准,每帧音频数据有240个采样点,时间为240*1000/8000=30ms,8000为音频的采样率。
数据接收端队列缓冲延迟:30*3=90ms
数据发送端录音延迟:30ms
数据压缩解压耗时:<40ms
网络延迟:<100ms(我想校网情况应该不错 )
总延迟:<260ms
根据VOIP标准,总延迟<300ms是人可以接受的,以上计算是保守的,实际情况可能会好得多。
带宽需求
数据类型 带宽需求(byte/sec) 带宽总需求(Kbyte/sec)
音频 1000*2 ~8.98*2
视频 ~8000*2
帧头 ~200*2
Platform: |
Size: 329728 |
Author: lltxyz |
Hits:
Description: 1. 能够侦听所有进出本主机的数据包完整显示数据包头信息和内容
MAC层支持:以太帧
网络层支持:IP,ARP,RARP,ICMP
传输层支持:TCP,UDP
2. 以十六进制显示报文每个字节内容(包括头和数据),指定某个字段时,使相应字节高 亮显示。如点击IP Source Address(在解析树中),则相应的四个字节高亮。
-1. To listen to all packets entering and leaving the integrity of the host header information and content display data to support MAC layer: Ethernet frame network layer support: IP, ARP, RARP, ICMP transport layer support: TCP, UDP 2. To hex system shows the contents of each byte packet (including header and data), specify a field to the corresponding bytes of high-bright display. Such as clicking IP Source Address (the resolution tree), then highlight the corresponding four bytes.
Platform: |
Size: 935936 |
Author: 枫叶 |
Hits:
Description: 该示例程序演示了如何进入EM380C的DTU模式(数据透传)
1、按照正常流程上电,LCD上会显示当前模块的配置情况.
2、打开PC的wifi无线网卡,连接到LCD上显示的ssid,默认是EM380,连接正常后,模块上的红色LED会常量。
3、设置PC的IP地址192.168.4.X(除了192.168.4.4),掩码255.255.255.0。设置完成之后,可以ping通192.168.4.4
4、打开工程文件夹中附带的TCP/UDP测试工具,点击“创建连接”,按照默认设置即可,然后再显示的界面上点击“连接”,这
时可以看到LCD上显示"TCP connected",然后TCP/UP测试工具上会显示有1000个byte的数据接收到,另外如果您通过PC向
外发送数据,MDV-STM32-107评估板会通过EM380C将收到的数据返回给PC。-该示例程序演示了如何进入EM380C的DTU模式(数据透传)
1、按照正常流程上电,LCD上会显示当前模块的配置情况.
2、打开PC的wifi无线网卡,连接到LCD上显示的ssid,默认是EM380,连接正常后,模块上的红色LED会常量。
3、设置PC的IP地址192.168.4.X(除了192.168.4.4),掩码255.255.255.0。设置完成之后,可以ping通192.168.4.4
4、打开工程文件夹中附带的TCP/UDP测试工具,点击“创建连接”,按照默认设置即可,然后再显示的界面上点击“连接”,这
时可以看到LCD上显示"TCP connected",然后TCP/UP测试工具上会显示有1000个byte的数据接收到,另外如果您通过PC向
外发送数据,MDV-STM32-107评估板会通过EM380C将收到的数据返回给PC。
Platform: |
Size: 2116608 |
Author: Jerry WOng |
Hits:
Description: VBPLC进行UDP通讯的软件及程序,很有用,可以进行BOOL,字节,整形和浮点数通讯-VBPLC for UDP communication software and procedures, useful, can be BOOL, byte, integer and floating-point communications
Platform: |
Size: 60416 |
Author: 彭玉江 |
Hits:
Description: VB UDP进行数据传送,是字节数据等等包括BOOL,BTYE,INT,SINGLE-VB UDP data transmission is byte data, etc., including BOOL, BTYE, INT, SINGLE
Platform: |
Size: 13312 |
Author: 彭玉江 |
Hits:
Description: E语言 TCP 上传服务端
传输控制协议是一种面向连接的、可靠的、基于字节流的运输层通信协议.在简化的计算机网络OSI模型中,它完成第四层传输层所指定的功能,UDP是同一层内另一个重要的传输协议.-Language TCP upload service-side transmission control protocol is a connection-oriented reliable byte stream transport layer communication protocol in the simplified OSI model of computer network, it completed the functions specified in the fourth layer of the transport layer , UDP is another transport protocol in the same floor.
Platform: |
Size: 212992 |
Author: 小刀 |
Hits:
Description: 传输控制协议是一种面向连接的、可靠的、基于字节流的运输层通信协议.在简化的计算机网络OSI模型中,它完成第四层传输层所指定的功能,UDP是同一层内另一个重要的传输协议.-Transmission Control Protocol is a connection-oriented, reliable byte stream transport layer communication protocol in the simplified OSI model of computer network, it completed the functions specified in the fourth layer of the transport layer, UDP is the same floor Another important transport protocol.
Platform: |
Size: 212992 |
Author: 小刀 |
Hits:
Description: 采用UDP发送测试字节流,并能统计每秒能发送的数据包数量。-Use UDP to send a test byte stream, and can count the number of packets per second that can be transmitted.
Platform: |
Size: 1165312 |
Author: 菲菲 |
Hits:
Description: 对一个string的crc16封装和解码 其中用到了Java的udp通信-it can encode the string after transfering into byte[] by CRC16,and also can decode the message you received by CRC16 via UDP conmmunication.
Platform: |
Size: 36864 |
Author: 王佑磊 |
Hits: