SendInterface Property
The interface from which multicast packets are sent. If empty, default is used.
Syntax
ANSI (Cross Platform) char* GetSendInterface();
int SetSendInterface(const char* lpszSendInterface); Unicode (Windows) LPWSTR GetSendInterface();
INT SetSendInterface(LPCWSTR lpszSendInterface);
@property (nonatomic,readwrite,assign,getter=sendInterface,setter=setSendInterface:) NSString* sendInterface; - (NSString*)sendInterface; - (void)setSendInterface:(NSString*)newSendInterface;
#define PID_MCAST_SENDINTERFACE 11 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
""
Remarks
This property is useful when there is more than one network interface, and the one used for sending multicast datagrams is not the default. If you wish to set an interface other than the system default, provide the IP address of the interface to be set.
This property is not available at design time.
Data Type
String