PortRangeTo Property
Specifies the upper limit of the listening port range for incoming connections.
Syntax
ANSI (Cross Platform) int GetPortRangeTo();
int SetPortRangeTo(int iPortRangeTo); Unicode (Windows) INT GetPortRangeTo();
INT SetPortRangeTo(INT iPortRangeTo);
@property (nonatomic,readwrite,assign,getter=portRangeTo,setter=setPortRangeTo:) int portRangeTo; - (int)portRangeTo; - (void)setPortRangeTo:(int)newPortRangeTo;
#define PID_RESTSERVER_PORTRANGETO 68 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_RESTServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_RESTServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
0
Remarks
Use this property to specify the upper limit of the port range to listen to connections on. When a port range is used to specify the listening port (as opposed to a fixed value provided via Port), the port will be allocated within the requested range by the operating system, and reported in BoundPort.
Data Type
Integer