Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
toolbox::net::IpMcastGroup Struct Reference

#include <toolbox/net/McastSock.hpp>

Public Member Functions

 IpMcastGroup (const IpAddr &addr, unsigned ifindex=0) noexcept
 
 IpMcastGroup (const IpAddr &addr, const char *ifname, std::error_code &ec) noexcept
 
 IpMcastGroup (const IpAddr &addr, const char *ifname)
 

Public Attributes

int family
 
union { 
 
   ip_mreqn   ipv4 
 
   ipv6_mreq   ipv6 
 
};  
 

Detailed Description

Definition at line 27 of file McastSock.hpp.

Constructor & Destructor Documentation

◆ IpMcastGroup() [1/3]

toolbox::net::IpMcastGroup::IpMcastGroup ( const IpAddr addr,
unsigned  ifindex = 0 
)
explicitnoexcept

Definition at line 22 of file McastSock.cpp.

◆ IpMcastGroup() [2/3]

toolbox::net::IpMcastGroup::IpMcastGroup ( const IpAddr addr,
const char ifname,
std::error_code &  ec 
)
inlinenoexcept

Definition at line 30 of file McastSock.hpp.

◆ IpMcastGroup() [3/3]

toolbox::net::IpMcastGroup::IpMcastGroup ( const IpAddr addr,
const char ifname 
)
inline

Definition at line 34 of file McastSock.hpp.

Member Data Documentation

◆ family

int toolbox::net::IpMcastGroup::family

Definition at line 39 of file McastSock.hpp.

◆ ipv4

ip_mreqn toolbox::net::IpMcastGroup::ipv4

Definition at line 41 of file McastSock.hpp.

◆ ipv6

ipv6_mreq toolbox::net::IpMcastGroup::ipv6

Definition at line 42 of file McastSock.hpp.

◆ [union]


The documentation for this struct was generated from the following files: