NetworkBaseReceiveStringArrayContentFromSocket 方法 |
[自校验] 从网络中接收一个字符串数组,如果结果异常,则结束通讯
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:8.2.1.0 (8.2.1.0)
语法 protected OperateResult<int, string[]> ReceiveStringArrayContentFromSocket(
Socket socket
)
Protected Function ReceiveStringArrayContentFromSocket (
socket As Socket
) As OperateResult(Of Integer, String())
protected:
OperateResult<int, array<String^>^>^ ReceiveStringArrayContentFromSocket(
Socket^ socket
)
member ReceiveStringArrayContentFromSocket :
socket : Socket -> OperateResult<int, string[]>
参数
- socket
- 类型:System.Net.SocketsSocket
套接字
返回值
类型:
OperateResultInt32,
String包含是否成功的结果对象
参见