Datasnap.Win.SConnect.ITransport.Send

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Unit: Datasnap.Win.SConnect
Parent: ITransport

Delphi

function Send(const Data: IDataBlock): NativeInt; stdcall;

C++

virtual System::NativeInt __stdcall Send(const _di_IDataBlock Data) = 0 ;

Description

Sends information retrieved from an IDataBlock interface to the application server.

Send sends the entire contents of the Data parameter's Memory property to the application server. It returns a transport-specific value that is used by the next call to the Receive method. For example, HTTP transport classes return the handle for the Internet connection.

See Also