Connect Event
Reports an accepted connection.
Syntax
ANSI (Cross Platform) virtual int FireConnect(DCAuthWebServerConnectEventParams *e);
typedef struct {
int64 ConnectionID;
const char *RemoteAddress;
int RemotePort; int reserved; } DCAuthWebServerConnectEventParams; Unicode (Windows) virtual INT FireConnect(DCAuthWebServerConnectEventParams *e);
typedef struct {
LONG64 ConnectionID;
LPCWSTR RemoteAddress;
INT RemotePort; INT reserved; } DCAuthWebServerConnectEventParams;
- (void)onConnect:(long long)connectionID :(NSString*)remoteAddress :(int)remotePort;
#define EID_DCAUTHWEBSERVER_CONNECT 5 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.