Loopback Property

Enables or disables loopback of data sent to the multicast group.

Syntax

ANSI (Cross Platform)
int GetLoopback();
int SetLoopback(int bLoopback); Unicode (Windows) BOOL GetLoopback();
INT SetLoopback(BOOL bLoopback);
@property (nonatomic,readwrite,assign,getter=loopback,setter=setLoopback:) BOOL loopback;
- (BOOL)loopback;
- (void)setLoopback:(BOOL)newLoopback;
#define PID_MCAST_LOOPBACK 6

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

TRUE

Remarks

This property enables or disables loopback of data sent to the multicast group. Setting this property to False disables loopback of data sent through the class (normally loopback is enabled). This property is directly related to the IP_MULTICAST_LOOP socket option.

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]