AllowKeepAlive Property
Enables or disables keep-alive mode.
Syntax
ANSI (Cross Platform) int GetAllowKeepAlive();
int SetAllowKeepAlive(int bAllowKeepAlive); Unicode (Windows) BOOL GetAllowKeepAlive();
INT SetAllowKeepAlive(BOOL bAllowKeepAlive);
@property (nonatomic,readwrite,assign,getter=allowKeepAlive,setter=setAllowKeepAlive:) BOOL allowKeepAlive; - (BOOL)allowKeepAlive; - (void)setAllowKeepAlive:(BOOL)newAllowKeepAlive;
#define PID_HTTPSERVER_ALLOWKEEPALIVE 2 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_HTTPServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_HTTPServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
TRUE
Remarks
Use this property to enable or disable the keep-alive connection mode. If keep-alive is enabled, clients that choose to use it may stay connected for a while.
Data Type
Boolean