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

UdpDataHandlingAdapterReceivedInputAsync 方法

收到数据的切入点,该方法由框架自动调用。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public Task ReceivedInputAsync(
	EndPoint remoteEndPoint,
	ReadOnlyMemory<byte> memory
)

参数

remoteEndPoint  EndPoint

[缺少 "M:TouchSocket.Core.UdpDataHandlingAdapter.ReceivedInputAsync(System.Net.EndPoint,System.ReadOnlyMemory{System.Byte})" 的 <param name="remoteEndPoint"/> 文档]

memory  ReadOnlyMemoryByte

[缺少 "M:TouchSocket.Core.UdpDataHandlingAdapter.ReceivedInputAsync(System.Net.EndPoint,System.ReadOnlyMemory{System.Byte})" 的 <param name="memory"/> 文档]

返回值

Task

[缺少 "M:TouchSocket.Core.UdpDataHandlingAdapter.ReceivedInputAsync(System.Net.EndPoint,System.ReadOnlyMemory{System.Byte})" 的 <returns> 文档]

参见