Discuss this help topic in SecureBlackbox Forum


TElSSLClient     See also     

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

Sends the data to the remote host.


    void SendData(byte[] Buffer);
    void SendData(byte[] Buffer, int StartIndex, int Count);

    Sub SendData(ByVal Buffer As Byte())
    Sub SendData(ByVal Buffer As Byte(), ByVal StartIndex As Integer, ByVal Count As Integer)

    procedure SendData(Buffer : Pointer; Size : LongInt);

    void SendData(void * Buffer, int32_t Size);

    void SendData(TSBPointer|array of byte|string|NULL $Buffer, integer $Size)


  • Buffer - the buffer with data to be sent.
  • Size - length of the data buffer in bytes
  • StartIndex - the start position in theBuffer from which the data must be read.
  • Count - number of bytes to be read.


    Use this method to send the data to the server. TElSSLClient encrypts the data (if Enabled property is true) and then fires OnSend event to write the encrypted block to the socket.
    The application needs to write the data to the socket only in OnSend event handler.

See also:     Enabled     TElSSLClass.OnSend    

Discuss this help topic in SecureBlackbox Forum