NetworkXBaseReceiveFileHeadFromSocketAsync 方法 |
[自校验] 从套接字中接收文件头信息
[Self-checking] Receive file header information from socket
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected Task<OperateResult<FileBaseInfo>> ReceiveFileHeadFromSocketAsync(
Socket socket
)
Protected Function ReceiveFileHeadFromSocketAsync (
socket As Socket
) As Task(Of OperateResult(Of FileBaseInfo))
protected:
Task<OperateResult<FileBaseInfo^>^>^ ReceiveFileHeadFromSocketAsync(
Socket^ socket
)
member ReceiveFileHeadFromSocketAsync :
socket : Socket -> Task<OperateResult<FileBaseInfo>>
参数
- socket
- 类型:System.Net.SocketsSocket
套接字的网络
返回值
类型:
TaskOperateResultFileBaseInfo包含文件信息的结果对象
参见