SecureBlackbox 2020 C++ Edition

Questions / Feedback?

Accept Event

This event is fired when new incoming connection is accepted.

Syntax

ANSI (Cross Platform)
virtual int FireAccept(SFTPServerAcceptEventParams *e);
typedef struct {
const char *RemoteAddress;
int RemotePort;
int Accept; int reserved; } SFTPServerAcceptEventParams; Unicode (Windows) virtual INT FireAccept(SFTPServerAcceptEventParams *e);
typedef struct {
LPCWSTR RemoteAddress;
INT RemotePort;
BOOL Accept; INT reserved; } SFTPServerAcceptEventParams;
- (void)onAccept:(NSString*)remoteAddress :(int)remotePort :(int*)accept;
#define EID_SFTPSERVER_ACCEPT 1

virtual INT SECUREBLACKBOX_CALL FireAccept(LPSTR &lpszRemoteAddress, INT &iRemotePort, BOOL &bAccept);

Remarks

This event is fired by the class before a new incoming connection is accepted. RemoteAddress contains the IP address of the connecting client. Use the Accept parameter to either accept, or reject the connection.

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