RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomIpClient.Connected Property

Indicates whether the socket connection is open and available for communication with other machines.

Pascal
property Connected: Boolean;
C++
__property Boolean Connected;

Read Connected before trying to use or change the socket connection. Connected indicates whether the socket connection has been established. When Connected is true, the socket is open and available for use. When Connected is false, the socket is closed and can be changed.  

To open a socket, use the Open method. To close a socket, use the Closemethod. 

 

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