Connect Event
Reports an accepted connection.
Syntax
class FTPServerConnectEventParams { public: qint64 ConnectionID(); const QString &RemoteAddress(); int Port(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Connect(FTPServerConnectEventParams *e);
// Or, subclass FTPServer and override this emitter function. virtual int FireConnect(FTPServerConnectEventParams *e) {...}
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 AuthAttempt or BeforeUploadFile.