AcceptData Property

Setting this property to False, temporarily disables data reception (and the DataIn event) on the connection.

Syntax

ANSI (Cross Platform)
int GetAcceptData(int iConnectionId);
int SetAcceptData(int iConnectionId, int bAcceptData); Unicode (Windows) BOOL GetAcceptData(INT iConnectionId);
INT SetAcceptData(INT iConnectionId, BOOL bAcceptData);
- (BOOL)acceptData:(int)connectionId;
- (void)setAcceptData:(int)connectionId:(BOOL)newAcceptData;
#define PID_IPDAEMON_ACCEPTDATA 3

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_IPDaemon_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_IPDaemon_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_IPDaemon_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

TRUE

Remarks

Setting this property to False, temporarily disables data reception (and the DataIn event) on the connection. Setting this to True, re-enables data reception.

The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the ConnectionCount property.

This property is not available at design time.

Data Type

Boolean

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