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

UdpReceivedDataEventArgs 构造函数

构造函数 初始化 UdpReceivedDataEventArgs 对象

Definition

命名空间: TouchSocket.Sockets
程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public UdpReceivedDataEventArgs(
	EndPoint endPoint,
	ByteBlock byteBlock,
	IRequestInfo requestInfo
)

参数

endPoint  EndPoint
接收数据的终结点
byteBlock  ByteBlock
接收到的数据块
requestInfo  IRequestInfo
请求信息,提供关于此次接收请求的元数据

参见