type

 TScCheckIfStopListenEvent = procedure (Sender: TObject; var NeedStop: boolean) of object;

 

property OnCheckIfStopListen: TScCheckIfStopListenEvent;

 

Description

Occurs before the server starts listening on the TCP/IP port for a new connections, and then occurs every time a new connection has been accepted to decide whether to continue listening or stop the server.

To stop listening, set the NeedStop parameter to True.

 

Parameters:

Sender - the object whose event handler is called;
NeedStop - determines whether the server will continue listening on the TCP/IP port. Set NeedStop to True if you want to stop listening.

 

See Also

Active

OnAcceptConnection

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support