Accept Event
Reports an incoming connection.
Syntax
ANSI (Cross Platform) virtual int FireAccept(TLSServerAcceptEventParams *e);
typedef struct {
const char *RemoteAddress;
int RemotePort;
int Accept; int reserved; } TLSServerAcceptEventParams; Unicode (Windows) virtual INT FireAccept(TLSServerAcceptEventParams *e);
typedef struct {
LPCWSTR RemoteAddress;
INT RemotePort;
BOOL Accept; INT reserved; } TLSServerAcceptEventParams;
- (void)onAccept:(NSString*)remoteAddress :(int)remotePort :(int*)accept;
#define EID_TLSSERVER_ACCEPT 1 virtual INT SECUREBLACKBOX_CALL FireAccept(LPSTR &lpszRemoteAddress, INT &iRemotePort, BOOL &bAccept);
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.