ForwardingPort Property

The port to which traffic will automatically be forwarded.

Syntax

ANSI (Cross Platform)
int GetForwardingPort();
int SetForwardingPort(int iForwardingPort); Unicode (Windows) INT GetForwardingPort();
INT SetForwardingPort(INT iForwardingPort);
@property (nonatomic,readwrite,assign,getter=forwardingPort,setter=setForwardingPort:) int forwardingPort;
- (int)forwardingPort;
- (void)setForwardingPort:(int)newForwardingPort;
#define PID_AZURERELAYRECEIVER_FORWARDINGPORT 29

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

0

Remarks

ForwardingPort is used together with ForwardingHost to define a location where traffic is automatically forwarded.

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

Integer

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