Discuss this help topic in SecureBlackbox Forum


TElSimpleSSHClient     See also     

Filter: C#  VB.NET  Pascal  C++  PHP  Java  

This method receives data through logical connection


    void ReceiveData(ref byte[] Buffer, ref int Size, ref byte[] StdErrBuffer, ref int StdErrSize);
    int ReceiveData(byte[] Buffer, int StartIndex, int Count, bool ReadAll);

    Sub ReceiveData(ByRef Buffer As Byte(), ByRef Size As Integer, ByRef StdErrBuffer As Byte(), ByRef StdErrSize As Integer)
    Function ReceiveData(ByVal Buffer As Byte(), ByVal StartIndex As Integer, ByVal Count As Integer, ByVal ReadAll As Boolean) As Integer

    procedure ReceiveData(Buffer : pointer; var Size : integer; StdErrBuffer : pointer; var StdErrSize : integer);

    void ReceiveData(void * Buffer, int32_t &Size, void * StdErrBuffer, int32_t &StdErrSize);

    void ReceiveData(TSBPointer|array of byte|string|NULL $Buffer, integer &$Size, TSBPointer|array of byte|string|NULL $StdErrBuffer, integer &$StdErrSize)

    int receiveData(byte[] Buffer, int StartIndex, int Count, boolean ReadAll);
    void receiveData(byte[] Buffer, TSBInteger Size, byte[] StdErrBuffer, TSBInteger StdErrSize);


  • Buffer - buffer for data
  • Size - size of buffer for data
  • StdErrBuffer (StdErrData) - buffer for data from stderr
  • StdErrSize - size of the buffer for data from stderr
  • StartIndex - position in the buffer from which data must be written
  • Count - amount of bytes to be written
  • ReadAll -


    Use this method to receive data through the logical connection. This method tries to read Size bytes and writes to Size parameter amount of bytes that have been actually read.

See also:     ReceiveText     SendData     ExecuteCommand    

Discuss this help topic in SecureBlackbox Forum