Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
McastSock.hpp File Reference
#include <toolbox/net/Endpoint.hpp>
#include <toolbox/net/IoSock.hpp>
#include <toolbox/net/IpAddr.hpp>
Include dependency graph for McastSock.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  toolbox::net::IpMcastGroup
 
struct  toolbox::net::McastSock
 Connectionless Datagram Socket. All state is in base class, so object can be sliced. More...
 

Namespaces

namespace  toolbox
 
namespace  toolbox::net
 

Functions

void toolbox::net::join_group (int sockfd, const IpMcastGroup &group, std::error_code &ec) noexcept
 Join a multicast group.
 
void toolbox::net::join_group (int sockfd, const IpMcastGroup &group)
 Join a multicast group.
 
void toolbox::net::join_group (int sockfd, const IpAddr &addr, unsigned ifindex, std::error_code &ec) noexcept
 Join a multicast group.
 
void toolbox::net::join_group (int sockfd, const IpAddr &addr, unsigned ifindex)
 Join a multicast group.
 
void toolbox::net::join_group (int sockfd, const IpAddr &addr, const char *ifname, std::error_code &ec) noexcept
 Join a multicast group. The system will choose an appropriate interface if ifname is null.
 
void toolbox::net::join_group (int sockfd, const IpAddr &addr, const char *ifname)
 Join a multicast group. The system will choose an appropriate interface if ifname is null.
 
void toolbox::net::leave_group (int sockfd, const IpMcastGroup &group, std::error_code &ec) noexcept
 Leave a multicast group.
 
void toolbox::net::leave_group (int sockfd, const IpMcastGroup &group)
 Leave a multicast group.
 
void toolbox::net::leave_group (int sockfd, const IpAddr &addr, unsigned ifindex, std::error_code &ec) noexcept
 Leave a multicast group.
 
void toolbox::net::leave_group (int sockfd, const IpAddr &addr, unsigned ifindex)
 Leave a multicast group.
 
void toolbox::net::leave_group (int sockfd, const IpAddr &addr, const char *ifname, std::error_code &ec) noexcept
 Leave a multicast group. The system will leave on the first matching interface if ifname is null.
 
void toolbox::net::leave_group (int sockfd, const IpAddr &addr, const char *ifname)
 Leave a multicast group. The system will leave on the first matching interface if ifname is null.
 
void toolbox::net::set_ip_mcast_if (int sockfd, int family, unsigned ifindex, std::error_code &ec) noexcept
 
void toolbox::net::set_ip_mcast_if (int sockfd, int family, unsigned ifindex)
 
void toolbox::net::set_ip_mcast_if (int sockfd, int family, const char *ifname, std::error_code &ec) noexcept
 
void toolbox::net::set_ip_mcast_if (int sockfd, int family, const char *ifname)
 
void toolbox::net::set_ip_mcast_loop (int sockfd, int family, bool enabled, std::error_code &ec) noexcept
 Determines whether sent multicast packets should be looped back to the local sockets.
 
void toolbox::net::set_ip_mcast_loop (int sockfd, int family, bool enabled)
 Determines whether sent multicast packets should be looped back to the local sockets.
 
void toolbox::net::set_ip_mcast_ttl (int sockfd, int family, int ttl, std::error_code &ec) noexcept
 Set or read the time-to-live value of outgoing multicast packets for this socket.
 
void toolbox::net::set_ip_mcast_ttl (int sockfd, int family, int ttl)
 Set or read the time-to-live value of outgoing multicast packets for this socket.