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

UdpDataHandlingAdapterPreviewReceived 方法

当接收到数据后预先处理数据,然后调用GoReceived(EndPoint, ByteBlock, IRequestInfo)处理数据

Definition

命名空间: TouchSocket.Sockets
程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
protected virtual Task PreviewReceived(
	EndPoint remoteEndPoint,
	ByteBlock byteBlock
)

参数

remoteEndPoint  EndPoint
byteBlock  ByteBlock

返回值

Task

[缺少 "M:TouchSocket.Sockets.UdpDataHandlingAdapter.PreviewReceived(System.Net.EndPoint,TouchSocket.Core.ByteBlock)" 的 <returns> 文档]

参见