UdpReceivedDataEventArgs 构造函数
构造函数
初始化 UdpReceivedDataEventArgs 对象
命名空间: TouchSocket.Sockets程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
public UdpReceivedDataEventArgs(
EndPoint endPoint,
ByteBlock byteBlock,
IRequestInfo requestInfo
)
Public Sub New (
endPoint As EndPoint,
byteBlock As ByteBlock,
requestInfo As IRequestInfo
)
new :
endPoint : EndPoint *
byteBlock : ByteBlock *
requestInfo : IRequestInfo -> UdpReceivedDataEventArgs
参数
- endPoint EndPoint
- 接收数据的终结点
- byteBlock ByteBlock
- 接收到的数据块
- requestInfo IRequestInfo
- 请求信息,提供关于此次接收请求的元数据