UdpDataHandlingAdapterGoSendAsync 方法
发送已经经过预先处理后的数据
命名空间: TouchSocket.Sockets程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
protected Task GoSendAsync(
EndPoint endPoint,
ReadOnlyMemory<byte> memory
)
Protected Function GoSendAsync (
endPoint As EndPoint,
memory As ReadOnlyMemory(Of Byte)
) As Task
member GoSendAsync :
endPoint : EndPoint *
memory : ReadOnlyMemory<byte> -> Task
- endPoint EndPoint
- 目标端点,表示数据发送的目的地址
- memory ReadOnlyMemoryByte
- 已经经过预先处理的字节数据,以 ReadOnlyMemory 方式传递以提高性能
Task返回一个 Task 对象,表示异步操作的完成