FDisconnect
This commit is contained in:
parent
74e937114c
commit
c4ee7d0bb4
|
@ -49,6 +49,7 @@ Type
|
||||||
FTelnetSubData : String;
|
FTelnetSubData : String;
|
||||||
FTelnetClient : Boolean;
|
FTelnetClient : Boolean;
|
||||||
FTelnetServer : Boolean;
|
FTelnetServer : Boolean;
|
||||||
|
FDisconnect : Boolean;
|
||||||
|
|
||||||
Constructor Create;
|
Constructor Create;
|
||||||
Destructor Destroy; Override;
|
Destructor Destroy; Override;
|
||||||
|
@ -122,7 +123,7 @@ Begin
|
||||||
FTelnetEcho := False;
|
FTelnetEcho := False;
|
||||||
FTelnetClient := False;
|
FTelnetClient := False;
|
||||||
FTelnetServer := False;
|
FTelnetServer := False;
|
||||||
{ FHostIP := '127.0.0.1';}
|
FDisconnect := True;
|
||||||
FHostIP := '';
|
FHostIP := '';
|
||||||
StatusUpdated := False;
|
StatusUpdated := False;
|
||||||
|
|
||||||
|
@ -131,7 +132,7 @@ End;
|
||||||
|
|
||||||
Destructor TSocketClass.Destroy;
|
Destructor TSocketClass.Destroy;
|
||||||
Begin
|
Begin
|
||||||
Disconnect;
|
If FDisconnect Then Disconnect;
|
||||||
|
|
||||||
SocketStatus.Free;
|
SocketStatus.Free;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue