KeepAlive Property
When True, KEEPALIVE packets are enabled (for long connections).
Syntax
ANSI (Cross Platform) int GetKeepAlive();
int SetKeepAlive(int bKeepAlive); Unicode (Windows) BOOL GetKeepAlive();
INT SetKeepAlive(BOOL bKeepAlive);
@property (nonatomic,readwrite,assign,getter=keepAlive,setter=setKeepAlive:) BOOL keepAlive; - (BOOL)keepAlive; - (void)setKeepAlive:(BOOL)newKeepAlive;
#define PID_MLLPCLIENT_KEEPALIVE 10 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_MLLPClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_MLLPClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
The KeepAlive enables the SO_KEEPALIVE option on the socket. This option prevents long connections from timing out in case of inactivity.
Please note that system TCP/IP stack implementations are not required to support SO_KEEPALIVE.
Data Type
Boolean