Datasnap.Win.SConnect.TSocketConnection.CreateTransport

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CreateTransport: ITransport; override;

C++

virtual _di_ITransport __fastcall CreateTransport();

Properties

Type Visibility Source Unit Parent
function protected
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Datasnap.Win.SConnect TSocketConnection

Description

Returns an ITransport interface that can be used to connect to and communicate with the application server.

Socket connection components use an ITransport interface to connect to and communicate with the application server. CreateTransport instantiates the internal helper object that connects to the socket dispatcher on the server and sends or receives messages. CreateTransport passes the values of the Host, Address and Port properties to this helper object and returns its ITransport interface.

See Also