SecureBlackbox 2020 C++ Edition

Questions / Feedback?

Host Property

The host to bind the listening port to.

Syntax

ANSI (Cross Platform)
char* GetHost();
int SetHost(const char* lpszHost); Unicode (Windows) LPWSTR GetHost();
INT SetHost(LPCWSTR lpszHost);
@property (nonatomic,readwrite,assign,getter=host,setter=setHost:) NSString* host;
- (NSString*)host;
- (void)setHost:(NSString*)newHost;
#define PID_WEBSOCKETSERVER_HOST 15

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_WebSocketServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_WebSocketServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

Use this property to specify the IP address on which to listen to incoming connections.

Data Type

String

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