RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSocketConnection.CreateTransport Method

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

Pascal
function CreateTransport: ITransport; override;
C++
virtual __fastcall ITransport CreateTransport();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!