ConnectionBacklog Property

The maximum number of pending connections maintained by the TCP/IP subsystem.

Syntax

ANSI (Cross Platform)
int GetConnectionBacklog();
int SetConnectionBacklog(int iConnectionBacklog); Unicode (Windows) INT GetConnectionBacklog();
INT SetConnectionBacklog(INT iConnectionBacklog);
@property (nonatomic,readwrite,assign,getter=connectionBacklog,setter=setConnectionBacklog:) int connectionBacklog;
- (int)connectionBacklog;
- (void)setConnectionBacklog:(int)newConnectionBacklog;
#define PID_AZURERELAYPROXY_CONNECTIONBACKLOG 3

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AzureRelayProxy_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_AzureRelayProxy_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

5

Remarks

This property contains the maximum number of pending connections maintained by the TCP/IP subsystem. This value reflects the SOMAXCON option for the main listening socket. The default value for most systems is 5. You may set this property to a larger value if the server is expected to receive a large number of connections, and queuing them is desirable.

This property is not available at design time.

Data Type

Integer

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