RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTcpClient.OnDisconnect Event

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

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

Write an OnDisconnect event handler for a client socket to take specific action just after the connection to a server socket is terminated. 

 

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