16 #ifndef LIDAR_INTEGRATION__UDP_SENDER_HPP_ 17 #define LIDAR_INTEGRATION__UDP_SENDER_HPP_ 23 #include <netinet/in.h> 32 const char8_t *
const ip,
const uint16_t port,
36 void send(
const void *
const data,
const size_t length)
const;
40 struct sockaddr_in6 m_addr;
43 template<
typename Packet>
50 void send(Packet
const & pkt)
const 56 #endif // LIDAR_INTEGRATION__UDP_SENDER_HPP_ void send(Packet const &pkt) const
Definition: udp_sender.hpp:50
bool bool8_t
Definition: types.hpp:33
This file includes common type definition.
char char8_t
Definition: types.hpp:34
UdpSenderBase(const char8_t *const ip, const uint16_t port, const bool8_t ipv6=false)
Definition: udp_sender.cpp:27
void send(const void *const data, const size_t length) const
Definition: udp_sender.cpp:60
Definition: udp_sender.hpp:44
Definition: udp_sender.hpp:28