UdpSessionBaseProtectedSendAsync(EndPoint, IListArraySegmentByte) 方法
异步发送数据到指定的端点。
命名空间: TouchSocket.Sockets程序集: TouchSocket (在 TouchSocket.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
protected Task ProtectedSendAsync(
EndPoint endPoint,
IList<ArraySegment<byte>> transferBytes
)
Protected Function ProtectedSendAsync (
endPoint As EndPoint,
transferBytes As IList(Of ArraySegment(Of Byte))
) As Task
member ProtectedSendAsync :
endPoint : EndPoint *
transferBytes : IList<ArraySegment<byte>> -> Task
- endPoint EndPoint
- 要发送数据的端点。
- transferBytes IListArraySegmentByte
- 待发送的字节数据列表,每个项包含要传输的字节片段。
Task异步操作任务。