property OnAcceptConnection: TScAcceptConnectionEvent;

 

type

 TScAcceptConnectionEvent = procedure (Sender: TObject; Connection: TScTCPConnection; var Cancel: boolean) of object;

 

Description

Occurs when a new TCP/IP connection is established, if there is a socket connection to the port, that the SSL server is listening on.

To cancel the connection, set the Cancel property to True. This can be done for a specific IP address by using the Connection.GetRemoteIP property or for any other reason.

To continue working with the connection, use the Connection object. For data exchange use the Connection.Read and Connection.Write methods.

 

Parameters:

Sender - the object whose event handler is called;
Connection - wraps the information about the socket that is trying to connect to the SSL server;
Cancel - determines, whether a connection to the specified TCP/IP socket will be established. Set Cancel to True, if you want to cancel establishing the connection.

 

 

 

 

 

 

 

 

 

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