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

NormalUdpDataHandlingAdapterPreviewSendAsync(EndPoint, IListArraySegmentByte) 方法

组合发送预处理数据, 当属性SplicingSend实现为True时,系统才会调用该方法。

Definition

命名空间: TouchSocket.Sockets
程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
protected override Task PreviewSendAsync(
	EndPoint endPoint,
	IList<ArraySegment<byte>> transferBytes
)

参数

endPoint  EndPoint

[缺少 "M:TouchSocket.Sockets.NormalUdpDataHandlingAdapter.PreviewSendAsync(System.Net.EndPoint,System.Collections.Generic.IList{System.ArraySegment{System.Byte}})" 的 <param name="endPoint"/> 文档]

transferBytes  IListArraySegmentByte

[缺少 "M:TouchSocket.Sockets.NormalUdpDataHandlingAdapter.PreviewSendAsync(System.Net.EndPoint,System.Collections.Generic.IList{System.ArraySegment{System.Byte}})" 的 <param name="transferBytes"/> 文档]

返回值

Task

[缺少 "M:TouchSocket.Sockets.NormalUdpDataHandlingAdapter.PreviewSendAsync(System.Net.EndPoint,System.Collections.Generic.IList{System.ArraySegment{System.Byte}})" 的 <returns> 文档]

异常

NotImplementedException

参见