RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamedConnection.DoConnect Method

Connects to an application server.

Pascal
procedure DoConnect; override;
C++
virtual __fastcall DoConnect();

DoConnect is called internally when the Connected property is set to true. DoConnect creates a separate thread for managing the connection so that communication with the application server does not block execution in the client application. Using the ITransport interface, DoConnect connects to the application server and sets the value of the AppServer property to its interface.

Note: Descendants of TStreamedConnection override CreateTransport rather than DoConnect to change the way the client application forms a connection to application servers.
 

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