TAstaClientSocket.OnConnect
Applies to
TAstaClientSocket
Declaration
property
OnConnect: TSocketNotifyEvent;
Description
See the Delphi help file for TClientSocket OnConnect. If you want to use any messaging or database
methods this is the earliest
you can call those methods as the socket needs to be connected to the server.
Note: You cannot open TAstaAstaClientDataSet in the FormCreate method as the socket may not be connected at that time!