Accept Event
Reports an incoming connection.
Syntax
typedef struct { String RemoteAddress; int RemotePort; bool Accept; } TsbxDCAuthWebServerAcceptEventParams; typedef void __fastcall (__closure *TsbxDCAuthWebServerAcceptEvent)(System::TObject* Sender, TsbxDCAuthWebServerAcceptEventParams *e); __property TsbxDCAuthWebServerAcceptEvent 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.