YRC1000TcpNetReadFromCoreServerAsync 方法 (Socket, String) |
Read string value from socket
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected Task<OperateResult<string>> ReadFromCoreServerAsync(
Socket socket,
string send
)
Protected Function ReadFromCoreServerAsync (
socket As Socket,
send As String
) As Task(Of OperateResult(Of String))
protected:
Task<OperateResult<String^>^>^ ReadFromCoreServerAsync(
Socket^ socket,
String^ send
)
member ReadFromCoreServerAsync :
socket : Socket *
send : string -> Task<OperateResult<string>>
参数
- socket
- 类型:System.Net.SocketsSocket
connected socket - send
- 类型:SystemString
string value
返回值
类型:
TaskOperateResultStringreceived string value with is successfully
参见