waterlinkedsonar
C++ client library for the Water Linked Sonar 3D-15
Loading...
Searching...
No Matches
Classes | Variables
socket.hpp File Reference

Receive-only UDP socket for the sonar's data stream. More...

#include <chrono>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <string>
#include <waterlinkedsonar/span.hpp>

Go to the source code of this file.

Classes

struct  waterlinked::sonar::UdpSocketConfig
 Addressing, port and receive buffer of a UdpSocket. More...
 
class  waterlinked::sonar::UdpSocket
 IPv4 UDP socket bound for the sonar's multicast or unicast stream. More...
 
struct  waterlinked::sonar::UdpSocket::Datagram
 Size and sender of a received datagram. More...
 

Variables

constexpr const char * waterlinked::sonar::MULTICAST_GROUP = "224.0.0.96"
 Multicast group the sonar streams to by default.
 
constexpr std::uint16_t waterlinked::sonar::MULTICAST_PORT = 4747
 Port the sonar streams to by default.
 

Detailed Description

Receive-only UDP socket for the sonar's data stream.