IPWorks WebSockets 2020 C++ Edition

Questions / Feedback?

DefaultForwardPort Property

The default port of the host to which data will be forwarded.

Syntax

ANSI (Cross Platform)
int GetDefaultForwardPort();
int SetDefaultForwardPort(int iDefaultForwardPort); Unicode (Windows) INT GetDefaultForwardPort();
INT SetDefaultForwardPort(INT iDefaultForwardPort);
@property (nonatomic,readwrite,assign,getter=defaultForwardPort,setter=setDefaultForwardPort:) int defaultForwardPort;
- (int)defaultForwardPort;
- (void)setDefaultForwardPort:(int)newDefaultForwardPort;
#define PID_WEBSOCKETPROXY_DEFAULTFORWARDPORT 17

IPWORKSWS_EXTERNAL void* IPWORKSWS_CALL IPWorksWS_WebSocketProxy_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSWS_EXTERNAL int IPWORKSWS_CALL IPWorksWS_WebSocketProxy_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

When a client connects the class will establish a new connection to the host specified in DefaultForwardHost on the port specified here. Data can then be freely sent and received between the client and host.

You may also override the default value specified here by setting the ForwardPort event parameter within the WebSocketOpenRequest event.

Data Type

Integer

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