mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 16:10:41 +02:00
* Allow to read handler
This commit is contained in:
parent
58b252705e
commit
87e9958429
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user