|
waterlinkedsonar
C++ client library for the Water Linked Sonar 3D-15
|
Addressing, port and receive buffer of a UdpSocket. More...
#include <waterlinkedsonar/udp/socket.hpp>
Public Types | |
| enum class | Mode : std::uint8_t { MULTICAST , UNICAST } |
| Addressing of the received stream. More... | |
Public Attributes | |
| Mode | mode {Mode::MULTICAST} |
| Multicast or unicast. | |
| std::string | multicast_group {MULTICAST_GROUP} |
| Group joined in MULTICAST mode. | |
| std::uint16_t | port {MULTICAST_PORT} |
| Local port. In UNICAST mode, the destination port set on the sonar. | |
| std::string | interface_ip {"0.0.0.0"} |
| Interface that joins the group in MULTICAST mode; bind address in UNICAST mode. | |
| int | receive_buffer_bytes {4 << 20} |
| Requested SO_RCVBUF size. The kernel caps it at net.core.rmem_max. | |
Addressing, port and receive buffer of a UdpSocket.
|
strong |