* Allow to read handler

This commit is contained in:
Michaël Van Canneyt 2021-08-21 09:03:56 +02:00
parent 58b252705e
commit 87e9958429

View File

@ -100,6 +100,7 @@ type
function GetLocalAddress: TSockAddr;
function GetRemoteAddress: TSockAddr;
procedure SetIOTimeout(AValue: Integer);
Protected
Public
Constructor Create (AHandle : Longint; AHandler : TSocketHandler = Nil);virtual;
destructor Destroy; override;
@ -118,6 +119,7 @@ type
Property WriteFlags : Integer Read FWriteFlags Write FWriteFlags;
Property IOTimeout : Integer read FIOTimeout Write SetIOTimeout;
Property ConnectTimeout : Integer read FConnectTimeout Write SetConnectTimeout;
Property Handler : TSocketHandler Read FHandler;
end;
TConnectEvent = Procedure (Sender : TObject; Data : TSocketStream) Of Object;