SecureBlackbox 2020 C++ Edition

Questions / Feedback?

Connect Event

Reports an accepted connection.

Syntax

ANSI (Cross Platform)
virtual int FireConnect(HTTPServerConnectEventParams *e);
typedef struct {
int64 ConnectionID;
const char *RemoteAddress;
int RemotePort; int reserved; } HTTPServerConnectEventParams; Unicode (Windows) virtual INT FireConnect(HTTPServerConnectEventParams *e);
typedef struct {
LONG64 ConnectionID;
LPCWSTR RemoteAddress;
INT RemotePort; INT reserved; } HTTPServerConnectEventParams;
- (void)onConnect:(long long)connectionID :(NSString*)remoteAddress :(int)remotePort;
#define EID_HTTPSERVER_CONNECT 4

virtual INT SECUREBLACKBOX_CALL FireConnect(LONG64 &lConnectionID, LPSTR &lpszRemoteAddress, INT &iRemotePort);

Remarks

The class fires this event to report that a new connection has been established. ConnectionId indicates the unique ID assigned to this connection. The same ID will be supplied to any other events related to this connection, such as GetRequest or AuthAttempt.

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