ConnectionRequest Event
Fired when a request for connection comes from a remote host.
Syntax
typedef void __fastcall (__closure *TipwIPDaemonConnectionRequestEvent)(System::TObject* Sender, TipwIPDaemonConnectionRequestEventParams *e);__property TipwIPDaemonConnectionRequestEvent OnConnectionRequest = {read=FOnConnectionRequest, write=FOnConnectionRequest};
typedef struct {
String Address;
int Port;
bool Accept;
} TipwIPDaemonConnectionRequestEventParams;
Remarks
This event indicates an incoming connection. The connection is accepted by default. Address and Port will contain information about remote host requesting the inbound connection. If you want to refuse it, you can set the Accept parameter to False.