Active Property
Enables or disables sending and receiving data.
Syntax
ANSI (Cross Platform) int GetActive();
int SetActive(int bActive); Unicode (Windows) BOOL GetActive();
INT SetActive(BOOL bActive);
@property (nonatomic,readwrite,assign,getter=active,setter=setActive:) BOOL active; - (BOOL)active; - (void)setActive:(BOOL)newActive;
#define PID_MCAST_ACTIVE 2 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_MCast_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_MCast_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
FALSE
Remarks
This property enables or disables sending and receiving data. Setting this property to True makes MCast create a communication endpoint (socket) which can be used for sending and receiving UDP datagrams. Setting this property to False destroys the socket and disables data communications.
This property is not available at design time.
Data Type
Boolean