Discuss this help topic in SecureBlackbox Forum

TElCustomSimpleSSLClient.SendData

TElCustomSimpleSSLClient     See also     


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


Sends data through logical connection.

Declaration

[C#]
    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(const Buffer : ByteArray); overload;
    procedure SendData(const Buffer : ByteArray; Size : integer); overload;
    procedure SendData(const Buffer : ByteArray; StartIndex : integer; Count : integer); overload;

[C++]
    void SendData(void * Buffer, int32_t Size);

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

[Java]
    void sendData(byte[] Buffer, int StartIndex, int Count);
    void sendData(byte[] Buffer, int Size);
    void sendData(byte[] Buffer);

Parameters

  • Buffer - the buffer containing the data to be sent.
  • Size - length of the data buffer in bytes
  • StartIndex - starting position of the data to be sent in the buffer.
  • Count - the number of bytes to read from buffer.

Description

    Use this method to send data to the server. When an external socket is used, the client only encrypts the data and fires the OnSend event (in derived classes). The application needs to write the data to the socket in this event handler.

See also:     ReceiveData    

Discuss this help topic in SecureBlackbox Forum