This is a class for multicast communication.  
More...
#include <HMulticastSocket>
List of all members.
Detailed Description
This is a class for multicast communication. 
Constructor & Destructor Documentation
Constructs a new instance. 
- Parameters:
- 
  
    | parent | specifies the parent QObject. |  
 
 
 
Member Function Documentation
      
        
          | bool joinMulticastGroup | ( | const QHostAddress & | groupAddress | ) |  | 
      
 
Attempts to joins into the specified multicast group address. 
- Parameters:
- 
  
    | groupAddress | specifies the multicast group address. |  
 
- Return values:
- 
  
    | true | in case the operation succeeded. |  | false | in case the operation failed. For instance, this happens when the socket is not bound to a port. |  
 
 
 
      
        
          | bool joinMulticastGroup | ( | const QHostAddress & | groupAddress, | 
        
          |  |  | const QHostAddress & | localAddress | 
        
          |  | ) |  |  | 
      
 
Attempts to joins into the specified multicast group address using the specified local address. 
- Parameters:
- 
  
    | groupAddress | specifies the multicast group address. |  | localAddress | specifies the local addresses from which the join message is sent. |  
 
- Return values:
- 
  
    | true | in case the operation succeeded. |  | false | in case the operation failed. For instance, this happens when the socket is not bound to a port. |  
 
 
 
      
        
          | bool leaveMulticastGroup | ( | const QHostAddress & | groupAddress | ) |  | 
      
 
Attempts to leave from the specified multicast group address. 
- Parameters:
- 
  
    | groupAddress | specifies the multicast group address. |  
 
- Return values:
- 
  
    | true | in case the operation succeeded. |  | false | in case the operation failed. For example, this happens when the socket has not joined to the specified multicast address. |  
 
 
 
      
        
          | bool leaveMulticastGroup | ( | const QHostAddress & | groupAddress, | 
        
          |  |  | const QHostAddress & | localAddress | 
        
          |  | ) |  |  | 
      
 
Attempts to leave from the specified multicast group address using the specified local address. 
- Parameters:
- 
  
    | groupAddress | specifies the multicast group address. |  | localAddress | specifies the local addresses from which the leave message is sent. |  
 
- Return values:
- 
  
    | true | in case the operation succeeded. |  | false | in case the operation failed. For example, this happens when the socket has not joined to the specified multicast address. |  
 
 
 
      
        
          | bool setMulticastTtl | ( | quint8 | arg | ) |  | 
      
 
Attempts to set the Time To Live attribute for each message. 
- Parameters:
- 
  
    | arg | specifies the value for Time To Live. |  
 
- Returns:
- true in case the operation succeeded. 
 
 
      
        
          | bool bind | ( | quint16 | port = 0 | ) |  | 
      
 
Attempts to bind the socket into the specified port using BindMode flags and a QHostAddress value that are suitable for a multicast socket. 
- Parameters:
- 
  
    | port | specifies the port to which to bind. |  
 
- Returns:
- true in case the operation succeeded.