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