receiveInterface (property)

The interface with which to receive multicast packets. If empty, default is used.

Syntax

@property (nonatomic,readwrite,assign,getter=receiveInterface,setter=setReceiveInterface:) NSString* receiveInterface;
- (NSString*)receiveInterface;
- (void)setReceiveInterface:(NSString*)newReceiveInterface;
public var receiveInterface: String {
  get {...}
set {...} }

Default Value

""

Remarks

This property is useful when there is more than one network interface, and the one used for receiving 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 used together with the MulticastGroup property to join one or more multicast groups. The joining is done after the class is activated by assigning proper values to MulticastGroup.

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