System.Win.ScktComp.TAbstractSocket.Close
Delphi
procedure Close;
C++
void __fastcall Close();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Win.ScktComp.pas System.Win.ScktComp.hpp |
System.Win.ScktComp | TAbstractSocket |
Description
Shuts down the socket connection.
Call Close to shut down the socket connection. Close sets the Active property to false.
For client sockets, Close terminates the connection to the server. For server sockets, Close shuts down the connection so that the server socket is no longer listening for client requests.