System.Net.Socket.TSocket.State
Delphi
property State: TSocketStates read FState;
C++
__property TSocketStates State = {read=FState, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Net.Socket.pas System.Net.Socket.hpp |
System.Net.Socket | TSocket |
Description
The current state of the socket.
State is an array that contains the current socket states. Possible states are:
Connected
Client
Listening
The socket constructor sets the Connected
and Client
states. Socket destructor clears the array.