PowerTCP Sockets for .NET
MulticastInterface Property (UdpSocketOption)




Gets or sets the host interface to use when sending multicast datagrams.
Syntax
'Declaration
 
Public Property MulticastInterface As IPAddress
'Usage
 
Dim instance As UdpSocketOption
Dim value As IPAddress
 
instance.MulticastInterface = value
 
value = instance.MulticastInterface
public IPAddress MulticastInterface {get; set;}
public: __property IPAddress* get_MulticastInterface();
public: __property void set_MulticastInterface( 
   IPAddress* value
);
public:
property IPAddress^ MulticastInterface {
   IPAddress^ get();
   void set (    IPAddress^ value);
}

Property Value

The local IPEndPoint that the Udp object is using to send/receive multicasted datagrams.
Remarks

This property is useful if the host has multiple interfaces and you wish to explicitly set the interface to use when sending datagrams to multicast addresses.

See Also

Reference

UdpSocketOption Class
UdpSocketOption Members


PowerTCP Sockets for .NET Documentation Version 4.5
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic