Discuss this help topic in SecureBlackbox Forum


TElFTPSServer     See also     

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

This event is used to write the encrypted data to the socket.


    event TSBSendEvent OnDataSend;
    delegate void TSBSendEvent(object Sender, byte[] Buffer)

    Event OnDataSend As TSBSendEvent
    Delegate Sub TSBSendEvent(ByVal Sender As Object, ByVal Buffer As Byte())

    property OnDataSend : TSBSendEvent;
    TSBSendEvent = procedure (Sender: TObject; Buffer : Pointer; Size : LongInt) of object;

    void get_OnDataSend(TSBSendEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnDataSend(TSBSendEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSBSendEvent)(void * _ObjectData, TObjectHandle Sender, void * Buffer, int32_t Size);

    TSBSendEvent|callable|NULL get_OnDataSend()
    void set_OnDataSend(TSBSendEvent|callable|NULL $Value)
    callable TSBSendEvent(TObject $Sender, TSBPointer|NULL $Buffer, integer $Size)


  • Buffer - the block of encoded data to be written to the socket.
  • Size - the length of the buffer in bytes.


    This event is fired by TElFTPSServer when it has encoded the data block and wants to write it to the socket.

See also:     OnDataReceive    

Discuss this help topic in SecureBlackbox Forum