Discuss this help topic in SecureBlackbox Forum

TElSimpleSSLClient.ReceiveData

TElSimpleSSLClient     See also     


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


This method receives data through logical connection

Declaration

[C#/Java]
    void ReceiveData(ref byte[] Buffer, ref int Size, bool ReadAll);
    int ReceiveData(byte[] Buffer, int StartIndex, int Count, bool ReadAll);

[VB.NET]
    Sub ReceiveData(ByRef Buffer As Byte(), ByRef Size As Integer, ByVal ReadAll As Boolean)
    Function ReceiveData(ByVal Buffer As Byte(), ByVal StartIndex As Integer, ByVal Count As Integer, ByVal ReadAll As Boolean) As Integer

[Pascal]
    procedure ReceiveData(Buffer : pointer; var Size : integer; ReadAll : boolean);

[C++]
    not available

[PHP]
    not available

Parameters

  • Buffer - buffer for data
  • Size - size of buffer for data
  • StartIndex - position in the buffer from which data must be written
  • Count - amount of bytes to be written
  • ReadAll - Specifies whether to read all bytes from Buffer (Data)

Description

    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:     SendData    

Discuss this help topic in SecureBlackbox Forum