Accept Event
Reports an incoming connection.
Syntax
typedef struct { String RemoteAddress; int RemotePort; bool Accept; } TsbxTLSServerAcceptEventParams; typedef void __fastcall (__closure *TsbxTLSServerAcceptEvent)(System::TObject* Sender, TsbxTLSServerAcceptEventParams *e); __property TsbxTLSServerAcceptEvent OnAccept = { read=FOnAccept, write=FOnAccept };
Remarks
This event is fired when a new connection from RemoteAddress:RemotePort is ready to be accepted. Use the Accept parameter to accept or decline it.
Subscribe to Connect event to be notified of every connection that has been set up.