|
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
|
Interface for multicast membership and IP_MULTICAST_IF: an IPv4 address or an interface index. More...
#include <fastmm/net/udp_socket.hpp>
Static Public Member Functions | |
| static int | resolve (std::string_view spec, McastInterface &out) noexcept |
| "" (kernel's choice), a dotted-quad address, or an interface name ("eth0", resolved with if_nametoindex). | |
Public Attributes | |
| std::uint32_t | addr_be = 0 |
| unsigned | index = 0 |
Interface for multicast membership and IP_MULTICAST_IF: an IPv4 address or an interface index.
Both zero lets the kernel pick the interface from the routing table.
|
staticnoexcept |
"" (kernel's choice), a dotted-quad address, or an interface name ("eth0", resolved with if_nametoindex).
Returns 0 or -errno (-ENODEV for an unknown name).
| std::uint32_t fastmm::net::McastInterface::addr_be = 0 |
| unsigned fastmm::net::McastInterface::index = 0 |