NetworkBaseReceiveVigorMessage 方法 |
从Socket接收一条VigorPLC的消息数据信息,指定套接字对象及超时时间
Receive a message data information of VigorPLC from Socket, specify socket object and timeout time
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法protected OperateResult<byte[]> ReceiveVigorMessage(
Socket socket,
int timeOut
)
Protected Function ReceiveVigorMessage (
socket As Socket,
timeOut As Integer
) As OperateResult(Of Byte())
protected:
OperateResult<array<unsigned char>^>^ ReceiveVigorMessage(
Socket^ socket,
int timeOut
)
member ReceiveVigorMessage :
socket : Socket *
timeOut : int -> OperateResult<byte[]>
参数
- socket
- 类型:System.Net.SocketsSocket
套接字对象 - timeOut
- 类型:SystemInt32
超时时间
返回值
类型:
OperateResultByte接收的结果内容
参见