NetworkBaseReceiveRedisCommand 方法 |
从网络接收一条完整的redis报文的消息
Receive a complete redis message from the network
命名空间:
HslCommunication.Core.Net
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected OperateResult<byte[]> ReceiveRedisCommand(
Socket socket
)
Protected Function ReceiveRedisCommand (
socket As Socket
) As OperateResult(Of Byte())
protected:
OperateResult<array<unsigned char>^>^ ReceiveRedisCommand(
Socket^ socket
)
member ReceiveRedisCommand :
socket : Socket -> OperateResult<byte[]>
参数
- socket
- 类型:System.Net.SocketsSocket
网络套接字
返回值
类型:
OperateResultByte接收的结果对象
参见