RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomIpClient.OnConnect Event

Occurs on client sockets just after the connection to the server is opened.

Pascal
property OnConnect: TSocketNotifyEvent;
C++
__property TSocketNotifyEvent OnConnect;

Write an OnConnect event handler for a client socket to take specific action after the connection to a server socket has been established. Depending on the service, this may be the point when the socket should start reading or writing over the connection. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!