From RAD Studio API Documentation
Jump to: navigation, search


property Active: Boolean read FActive write SetActive;


__property bool Active = {read=FActive, write=SetActive, nodefault};


Type Visibility Source Unit Parent
property protected
System.Win.ScktComp TAbstractSocket


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

Before attempting to use or change the socket connection, read Active to determine whether the connection is open and ready. For client sockets, setting Active opens or shuts down a socket connection to another machine. For server sockets, setting Active opens or shuts down a listening connection that makes the socket available for client requests.

At design time, set Active to true to make the socket open a connection when the application starts running. At runtime, use the Open or Close method to open or close the connection.

See Also