WebServerPort Property

The local port on which the embedded web server listens.

Syntax

ANSI (Cross Platform)
int GetWebServerPort();
int SetWebServerPort(int iWebServerPort); Unicode (Windows) INT GetWebServerPort();
INT SetWebServerPort(INT iWebServerPort);
@property (nonatomic,readwrite,assign,getter=webServerPort,setter=setWebServerPort:) int webServerPort;
- (int)webServerPort;
- (void)setWebServerPort:(int)newWebServerPort;
#define PID_OAUTH_WEBSERVERPORT 50

CLOUDKEYS_EXTERNAL void* CLOUDKEYS_CALL CloudKeys_OAuth_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CLOUDKEYS_EXTERNAL int CLOUDKEYS_CALL CloudKeys_OAuth_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

This property specifies the port on which the embedded web server listens. Setting this to 0 (default) enables the system to choose a port at random. The chosen port will be returned when this setting is queried after the server has started listening.This is only applicable when using the embedded web server.

Data Type

Integer

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