EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElSecureServer.SendData

TElSecureServer     See also    


 

Sends the data to the remote host.

 
 

Declaration

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

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

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

[VB6]
    Sub IElSecureServerX.SendData(Buffer As Byte())

[ActiveX]
    HRESULT _stdcall IElSecureServerX.SendData([in] VARIANT Buffer);

[DLL]
    __stdcall DWORD SBServerSendData(HANDLE handle, LPCHAR Buffer, DWORD Size);
 
 

Parameters

  • [DLL]handle - handle to the TElSecureServer object that was returned by Constructor
  • Buffer - pointer to the data buffer that is to be sent. [ActiveX] Buffer should contain a one-dimentional zero-based safe array with elements of type unsigned char (byte).
  • Size - length of the data buffer in bytes
  • StartIndex - the start position in the Buffer from which the data must be read.
  • Count - number of bytes to be read.
 
 

Description

    Use this method to send the data to the client. TElSecureServer 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

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation