PendingRequests Property

The number of requests awaiting completion.

Syntax

ANSI (Cross Platform)
int GetPendingRequests();
int SetPendingRequests(int iPendingRequests); Unicode (Windows) INT GetPendingRequests();
INT SetPendingRequests(INT iPendingRequests);
@property (nonatomic,readwrite,assign,getter=pendingRequests,setter=setPendingRequests:) int pendingRequests;
- (int)pendingRequests;
- (void)setPendingRequests:(int)newPendingRequests;
#define PID_IPINFO_PENDINGREQUESTS 37

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_IPInfo_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_IPInfo_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

This property serves two functions: it shows the number of requests that are pending completion, but it can also be used to adjust the size of the queue by dumping part of or all the pending requests.

To cancel all the pending requests at any moment, simply set PendingRequests to 0.

NOTE: This functionality is only available in Windows.

Data Type

Integer

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