mn_basic_multicast_ip_socket.hpp
Go to the documentation of this file.
typename base_type::endpoint_type endpoint_type
Definition: mn_basic_dgram_socket.hpp:126
typename base_type::handle_type handle_type
Definition: mn_basic_dgram_socket.hpp:128
typename base_type::ipaddress_type ipaddress_type
Definition: mn_basic_dgram_socket.hpp:127
basic_dgram_ip6_socket()
Definition: mn_basic_dgram_socket.hpp:130
typename base_type::ipaddress_type ipaddress_type
Definition: mn_basic_dgram_socket.hpp:38
typename base_type::handle_type handle_type
Definition: mn_basic_dgram_socket.hpp:39
typename base_type::endpoint_type endpoint_type
Definition: mn_basic_dgram_socket.hpp:37
basic_dgram_ip_socket()
Construt.
Definition: mn_basic_dgram_socket.hpp:44
This class represents an internet (IP) version 4 host socket.
Definition: mn_basic_ip4_socket.hpp:31
virtual void swap(basic_ip4_socket &rhs) noexcept
Definition: mn_basic_ip4_socket.hpp:134
This class represents an internet (IP) version 6 host socket.
Definition: mn_basic_ip6_socket.hpp:33
virtual void swap(basic_ip6_socket &rhs) noexcept
Definition: mn_basic_ip6_socket.hpp:136
A basic_multicast_ip6_socket is a special dgram_ip6_socket that can be used to send packets to and re...
Definition: mn_basic_multicast_ip_socket.hpp:116
void set_loopback(bool flag)
Set the option socket_option_name::loopback.
Definition: mn_basic_multicast_ip_socket.cpp:169
bool get_loopback()
Get the value from option socket_option_name::multicast_loop.
Definition: mn_basic_multicast_ip_socket.cpp:191
int join_group(const ipaddress_type &groupAddress, const uint8_t &uiInterface)
Joins the specified multicast group.
Definition: mn_basic_multicast_ip_socket.cpp:124
ipaddress_type m_ipMulticast
Definition: mn_basic_multicast_ip_socket.hpp:192
basic_multicast_ip6_socket()
Construt an unconnected, unbound multicast socket.
Definition: mn_basic_multicast_ip_socket.hpp:128
void set_time_to_live(int value)
Set the option socket_option_name::ttl.
Definition: mn_basic_multicast_ip_socket.cpp:177
virtual void swap(self_typ &rhs) noexcept
Definition: mn_basic_multicast_ip_socket.hpp:182
int leave_group()
Leaves the specified multicast group.
Definition: mn_basic_multicast_ip_socket.cpp:143
void set_interface(const uint8_t &infAddress)
Set the option IP_MULTICAST_IF.
Definition: mn_basic_multicast_ip_socket.cpp:184
typename base_type::ipaddress_type ipaddress_type
Definition: mn_basic_multicast_ip_socket.hpp:122
basic_multicast_ip6_socket(const protocol_type &protocol)
Definition: mn_basic_multicast_ip_socket.hpp:189
int get_time_to_live()
Get the option IP_MULTICAST_TTL.
Definition: mn_basic_multicast_ip_socket.cpp:203
basic_multicast_ip6_socket(handle_type &hndl, endpoint_type *endp=nullptr)
Definition: mn_basic_multicast_ip_socket.hpp:187
uint8_t get_interface()
Get the option IP_MULTICAST_IF.
Definition: mn_basic_multicast_ip_socket.cpp:215
A multicast_ip_socket is a special dgram_ip_socket that can be used to send packets to and receive pa...
Definition: mn_basic_multicast_ip_socket.hpp:30
bool get_loopback()
Get the value from option socket_option_name::multicast_loop.
Definition: mn_basic_multicast_ip_socket.cpp:100
int leave_group()
Leaves the specified multicast group.
Definition: mn_basic_multicast_ip_socket.cpp:54
void set_loopback(bool flag)
Set the option socket_option_name::loopback.
Definition: mn_basic_multicast_ip_socket.cpp:79
basic_multicast_ip_socket(handle_type &hndl, endpoint_type *endp=nullptr)
Definition: mn_basic_multicast_ip_socket.hpp:103
void set_interface(const ipaddress_type &infAddress)
Set the option IP_MULTICAST_IF.
Definition: mn_basic_multicast_ip_socket.cpp:93
ipaddress_type m_ipMulticast
Definition: mn_basic_multicast_ip_socket.hpp:108
int join_group(const ipaddress_type &groupAddress, const ipaddress_type &infAddress=MNNET_IPV4_ADDRESS_ANY)
Joins the specified multicast group.
Definition: mn_basic_multicast_ip_socket.cpp:34
basic_multicast_ip_socket()
Construt an unconnected, unbound multicast socket.
Definition: mn_basic_multicast_ip_socket.hpp:42
void set_time_to_live(int value)
Set the option socket_option_name::ttl.
Definition: mn_basic_multicast_ip_socket.cpp:86
typename base_type::ipaddress_type ipaddress_type
Definition: mn_basic_multicast_ip_socket.hpp:36
basic_multicast_ip_socket(const protocol_type &protocol)
Definition: mn_basic_multicast_ip_socket.hpp:105
ipaddress_type get_interface()
Get the option IP_MULTICAST_IF.
Definition: mn_basic_multicast_ip_socket.cpp:114
int get_time_to_live()
Get the option IP_MULTICAST_TTL.
Definition: mn_basic_multicast_ip_socket.cpp:107
virtual void swap(self_typ &rhs) noexcept
Definition: mn_basic_multicast_ip_socket.hpp:98
protocol_type
Defines socket protoco types for creating.
Definition: mn_net_types.hpp:60
@ udp_lite
This is an implementation of the Lightweight User Datagram Protocol (UDP-Lite), as described in RFC 3...
Definition: mn_allocator_typetraits.hpp:25