Discuss this help topic in SecureBlackbox Forum

TElSimpleSSLClient.SendData

TElSimpleSSLClient     See also     


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


Sends the data to the remote host.

Declaration

[C#/Java]
    void SendData(byte[] Buffer);
    void SendData(byte[] Buffer, int Size);
    void SendData(byte[] Buffer, int StartIndex, int Count);

[VB.NET]
    Sub SendData(ByVal Buffer As Byte())
    Sub SendData(ByVal Buffer As Byte(), ByVal Size As Integer)
    Sub SendData(ByVal Buffer As Byte(), ByVal StartIndex As Integer, ByVal Count As Integer)

[Pascal]
    procedure SendData(Buffer : Pointer; Size : LongInt);

[C++]
    not available

[PHP]
    not available

Parameters

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

Description

    Use this method to send the data to the server. TElSimpleSSLClient 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     OnSend    

Discuss this help topic in SecureBlackbox Forum