ForwardingHost Property

The address to which traffic will automatically be forwarded.

Syntax

ANSI (Cross Platform)
char* GetForwardingHost();
int SetForwardingHost(const char* lpszForwardingHost); Unicode (Windows) LPWSTR GetForwardingHost();
INT SetForwardingHost(LPCWSTR lpszForwardingHost);
@property (nonatomic,readwrite,assign,getter=forwardingHost,setter=setForwardingHost:) NSString* forwardingHost;
- (NSString*)forwardingHost;
- (void)setForwardingHost:(NSString*)newForwardingHost;
#define PID_AZURERELAYRECEIVER_FORWARDINGHOST 28

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AzureRelayReceiver_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AzureRelayReceiver_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

ForwardingHost optionally specifies an address to which traffic will be automatically forwarded. Traffic will only be forwarded if both ForwardingHost and ForwardingPort are specified.

When a connection is made the class will automatically establish a connection to ForwardingHost on the port specified by ForwardingPort. Data will then flow freely between the connected client and the ForwardingHost.

Note: This functionality is not applicable to HTTP requests.

Data Type

String

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