IPWorks WebSockets 2020 C++ Edition

Questions / Feedback?

DefaultForwardHost Property

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

Syntax

ANSI (Cross Platform)
char* GetDefaultForwardHost();
int SetDefaultForwardHost(const char* lpszDefaultForwardHost); Unicode (Windows) LPWSTR GetDefaultForwardHost();
INT SetDefaultForwardHost(LPCWSTR lpszDefaultForwardHost);
@property (nonatomic,readwrite,assign,getter=defaultForwardHost,setter=setDefaultForwardHost:) NSString* defaultForwardHost;
- (NSString*)defaultForwardHost;
- (void)setDefaultForwardHost:(NSString*)newDefaultForwardHost;
#define PID_WEBSOCKETPROXY_DEFAULTFORWARDHOST 16

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

""

Remarks

When a client connects the class will establish a new connection to the host specified here on the port specified by DefaultForwardPort. 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 ForwardHost event parameter within the WebSocketOpenRequest event.

Data Type

String

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