Received Event Firing with no Receive Method (wodSSH / wodSSH.NET)
Unless I am missing something:
Documentation for Received event says:
“Received event will not be fired again until you do Receive data that is currently held in wodSSH's internal buffers”
This is not what I am seeing.
I am seeing Received Events firing on arrival of each data packet even when no Receive method is used. The ByteCount appear to reflect the total number of bytes waiting.
Tthe simple example below demonstrates:
Dim WithEvents Ssh As wodSSHCom Private Sub Form_Load() Set Ssh = New wodSSHCom End Sub Private Sub CmdGo_Click() With Ssh Debug.Print "Start " & .Version .HostName = "*****" .Login = "*****" .PassWord = "*****" .Protocol = SSHAuto .Connect End With End Sub Private Sub Ssh_Banner(Text As String) Debug.Print "Ssh_Banner " & Len(Text) Text = "" End Sub Private Sub Ssh_Connected(ByVal ErrorCode As Integer, ByVal ErrorText As String) Debug.Print "Ssh_Connected " & ErrorCode & " " & ErrorText End Sub Private Sub Ssh_Received(ByVal ByteCount As Integer) ' No receive of data Debug.Print "Ssh_Received " & ByteCount End Sub
- Received Event Firing with no Receive Method - CraigGibbings, 2014-06-04, 10:34
- Received Event Firing with no Receive Method - wodSupport, 2014-06-04, 10:59
- Received Event Firing with no Receive Method - wodSupport, 2014-06-04, 18:14