一款简单易用的基础网络通讯组件库。

UdpFrame 结构

UDP数据帧

Definition

命名空间: TouchSocket.Sockets
程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public struct UdpFrame
Inheritance
Object    ValueType    UdpFrame

属性

Crc Crc校验
Data 数据
FIN 是否为终结帧
Id 数据Id
SN 帧序号

方法

EqualsIndicates whether this instance and a specified object are equal.
(继承自 ValueType。)
GetHashCodeReturns the hash code for this instance.
(继承自 ValueType。)
GetTypeGets the Type of the current instance.
(继承自 Object。)
Parse 解析给定的只读字节跨度数据。
ToStringReturns the fully qualified type name of this instance.
(继承自 ValueType。)

扩展方法

Map
(由 Mapper 定义。)
Map
(由 Mapper 定义。)
MapTTarget
(由 Mapper 定义。)
ToJsonString 转换为Json
(由 SerializeConvert 定义。)

参见