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