Contains IPAddress values used to join and drop multicast groups. 
Contains IPAddress values used to join and drop multicast groups.
Definition multicast_option.hpp:39
 
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
 
#define core_export_
Define shared library export.
Definition core_export.hpp:13
 
  - Inheritance
 - xtd::object → xtd::net::sockets::multicast_option 
 
- Header
 #include <xtd/net/sockets/multicast_option>
  
- Namespace
 - xtd::net::sockets 
 
- Library
 - xtd.core
 
 | 
|   | object ()=default | 
|   | Create a new instance of the ultimate base class object.  
  | 
|   | 
| virtual bool  | equals (const object &obj) const noexcept | 
|   | Determines whether the specified object is equal to the current object.  
  | 
|   | 
| virtual size_t  | get_hash_code () const noexcept | 
|   | Serves as a hash function for a particular type.  
  | 
|   | 
| virtual type_object  | get_type () const noexcept | 
|   | Gets the type of the current instance.  
  | 
|   | 
| template<typename object_t >  | 
| xtd::uptr< object_t >  | memberwise_clone () const | 
|   | Creates a shallow copy of the current object.  
  | 
|   | 
| virtual xtd::string  | to_string () const noexcept | 
|   | Returns a xtd::string that represents the current object.  
  | 
|   | 
| template<typename object_a_t , typename object_b_t >  | 
| static bool  | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept | 
|   | Determines whether the specified object instances are considered equal.  
  | 
|   | 
| template<typename object_a_t , typename object_b_t >  | 
| static bool  | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept | 
|   | Determines whether the specified object instances are the same instance.  
  | 
|   | 
◆ multicast_option() [1/4]
  
  
      
        
          | xtd::net::sockets::multicast_option::multicast_option  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
default   | 
  
 
 
◆ multicast_option() [2/4]
◆ multicast_option() [3/4]
◆ multicast_option() [4/4]
◆ group() [1/2]
Gets the IP address of a multicast group. 
- Returns
 - An xtd::net::ip_address that contains the Internet address of a multicast group. 
 
 
 
◆ group() [2/2]
Sets the IP address of a multicast group. 
- Parameters
 - 
  
  
 
- Returns
 - the current instance. 
 
 
 
◆ interface_index() [1/2]
  
  
      
        
          | uint32 xtd::net::sockets::multicast_option::interface_index  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
noexcept   | 
  
 
Gets the interface index that is associated with a multicast group. 
- Returns
 - A uint32 value that specifies the address of the interface. 
 
 
 
◆ interface_index() [2/2]
Sets the interface index that is associated with a multicast group. 
- Parameters
 - 
  
    | value | A uint32 value that specifies the address of the interface.  | 
  
   
- Returns
 - the current instance. 
 
- Exceptions
 - 
  
  
 
 
 
◆ local_address() [1/2]
Gets the local IP address associated with a multicast group. 
- Returns
 - An xtd::net::ip_address that contains the local address associated with a multicast group. 
 
 
 
◆ local_address() [2/2]
Sets he local IP address associated with a multicast group. 
- Parameters
 - 
  
  
 
- Returns
 - the current instance. 
 
 
 
The documentation for this class was generated from the following file: