21 virtual void open(
const std::string& host, std::uint16_t port) = 0;
22 virtual void send(std::span<const std::uint8_t> bytes) = 0;
37 void open(
const std::string& host, std::uint16_t port)
override;
38 void send(std::span<const std::uint8_t> bytes)
override;
44 std::
size_t _address_size = 0;
virtual void close() noexcept=0
virtual void open(const std::string &host, std::uint16_t port)=0
virtual ~DatagramSender()=default
virtual void send(std::span< const std::uint8_t > bytes)=0
UdpSender(const UdpSender &)=delete
UdpSender & operator=(const UdpSender &)=delete