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

UdpDataHandlingAdapterGoSendAsync 方法

发送已经经过预先处理后的数据。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
C#
protected Task GoSendAsync(
	EndPoint endPoint,
	ReadOnlyMemory<byte> memory,
	CancellationToken cancellationToken
)

参数

endPoint  EndPoint
目标端点,表示数据发送的目的地址。
memory  ReadOnlyMemoryByte
已经经过预先处理的字节数据。
cancellationToken  CancellationToken
可取消令箭。

返回值

Task
返回一个任务,表示异步操作的完成。

参见