EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElSimpleSSHClient.OnReceive

TElSimpleSSHClient     See also    


 

This event is fired when TElSimpleSSHClient needs more data

 
 

Declaration

[C#]
    event TSSHReceiveEvent OnReceive;
    delegate void TSSHReceiveEvent(object Sender, ref byte[] Buffer, int MaxSize, out int Written)

[VB.NET]
    Event OnReceive As TSSHReceiveEvent
    Delegate Sub TSSHReceiveEvent(ByVal Sender As Object, ByRef Buffer As Byte(), ByVal MaxSize As Integer, ByRef Written As Integer)

[Pascal]
    property OnReceive : TSSHReceiveEvent;
    TSSHReceiveEvent = procedure (Sender: TObject; Buffer : pointer; MaxSize : longint; out Written : longint) of object;

[VB6]
    Event IElSimpleSSHClientXEvents.OnReceive(Data, MaxSize As Long)

[ActiveX]
    void IElSimpleSSHClientXEvents.OnReceive( [out] VARIANT * Data, [in] long MaxSize );

[DLL]
    not implemented;
 
 

Parameters

  • Buffer (Data) - The buffer where to put encrypted data
  • MaxSize - The maximal size of data (in bytes)
  • Written - The real size of the data that was received
 
 

Description

    This event is fired when TElSimpleSSHClient wants a new portion of encrypted data from the server. It's a good idea to call recv function inside this event handler.

You must handle this event, if you don't use built-in sockets (see UseInternalSocket property). There is no other way to pass the encrypted data from server to TElSimpleSSHClient, except this event!

 
 

See also:     OnSend

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation