SecureBlackbox 2020 C++ Builder Edition

Questions / Feedback?

Accept Event

Reports an incoming connection.


typedef struct {
  String RemoteAddress;
  int RemotePort;
  bool Accept;
} TsbxWebSocketServerAcceptEventParams;

typedef void __fastcall (__closure *TsbxWebSocketServerAcceptEvent)(System::TObject* Sender, TsbxWebSocketServerAcceptEventParams *e);

__property TsbxWebSocketServerAcceptEvent OnAccept = { read=FOnAccept, write=FOnAccept };


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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Builder Edition - Version 20.0 [Build 8165]