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


property OnCheckIfStopListen: TScCheckIfStopListenEvent;



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.



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




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