AcceptData Property

Enables or disables data reception (the IPPacket event).

Syntax

ANSI (Cross Platform)
int GetAcceptData();
int SetAcceptData(int bAcceptData); Unicode (Windows) BOOL GetAcceptData();
INT SetAcceptData(BOOL bAcceptData);
@property (nonatomic,readwrite,assign,getter=acceptData,setter=setAcceptData:) BOOL acceptData;
- (BOOL)acceptData;
- (void)setAcceptData:(BOOL)newAcceptData;
#define PID_IPMONITOR_ACCEPTDATA 1

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

Default Value

TRUE

Remarks

This property enables or disables data reception (the IPPacket event). Setting this property to False, temporarily disables data reception (and the IPPacket event). Setting this property to True, re-enables data reception.

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 8161]