YRC1000TcpNetInitializationOnConnectAsync 方法 |
before read data , the connection should be Initialized
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected override Task<OperateResult> InitializationOnConnectAsync(
Socket socket
)
Protected Overrides Function InitializationOnConnectAsync (
socket As Socket
) As Task(Of OperateResult)
protected:
virtual Task<OperateResult^>^ InitializationOnConnectAsync(
Socket^ socket
) override
abstract InitializationOnConnectAsync :
socket : Socket -> Task<OperateResult>
override InitializationOnConnectAsync :
socket : Socket -> Task<OperateResult>
参数
- socket
- 类型:System.Net.SocketsSocket
connected socket
返回值
类型:
TaskOperateResultwhether is the Initialization is success.
参见