tcp-ip UDP: User Datagram Protocol
来源:互联网 发布:深圳交通数据采集 编辑:程序博客网 时间:2024/04/19 20:49
The port numbers identify the sending process and the receiving process.
The UDP length field is the length of the UDP header and the UDP data in bytes.The minimum value for this field is 8 bytes. (Sending a UDP datagram with 0 bytes of data is OK.)
UDP Checksum
The UDP checksum covers the UDP header and the UDP data.
Both UDP and TCP include a 12-byte pseudo-header with the UDP datagram (or TCP segment) just for the checksum computation.
In this figure we explicitly show a datagram with an odd length, requiring a pad byte for the checksum computation. Notice that the length of the UDP datagram appears twice in the checksum computation.
If the calculated checksum is 0, it is stored as all one bits (65535), which is equivalent in onescomplement arithmetic. If the transmitted checksum is 0, it indicates that the sender did not compute the checksum.
If the sender did compute a checksum and the receiver detects a checksum error, the UDP datagram is silently discarded. No error message is generated.
A host is required to receive at least a 576-byte IP datagram.Many UDP applications are designed to restrict their application data to 512 bytes or less, to stay below this limit.
- tcp-ip UDP: User Datagram Protocol
- UDP, User Datagram Protocol
- TCP-IP详解卷1-11:UDP(User Datagram Protocol):用户数据报协议
- User Datagram Protocol(UDP)详解
- TCP/IP 详解 卷1 ch11 User Datagram Protocol
- UDP协议(User Datagram Protocol)
- TCP-IP详解卷1-01:TCP/IP概述(Transport Control Protocol/ Internet Protocol User Datagram Protocol)
- UDP(User Datagram Protocol) 用户数据报协议
- TCP/IP Datagram Explain
- TCP/IP Datagram Explain
- TCP/IP Datagram Explain
- "JSTUN" - Java Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translation (NAT)
- 用户数据报协议UDP(User Datagram Protocol)报文格式
- tcp/ip学习笔记--第11章 UDP(user data protocol)
- TCP/IP sock.c and datagram.c
- TCP/IP Protocol
- tcp-ip IP( Internet Protocol )
- qt udp/tcp 绑定发送源端口(Specify source UDP port when writing datagram)
- solrcloud集群安装
- 性能调优攻略
- hdu_1285_拓扑排序_
- 循环递增的数组 二分查找
- 解决ie下访问不正常的问题
- tcp-ip UDP: User Datagram Protocol
- Java知识点总结
- 关于问题vxworks与linux区别
- 避免复制Vector,定义引用类型
- ruby2.0.0版本安装devkit遇到的问题
- Missing styles. Is the correct theme chosen for this layout?
- thinkphp的模板中使用数学运算符
- 图文解释XCode常用快捷键的使用
- iOS学习爬坑记录10:在Storyboard中打开preview的方法