9 #ifndef CLUON_UDPSENDER_HPP 10 #define CLUON_UDPSENDER_HPP 19 #include <netinet/in.h> 70 UDPSender(
const std::string &sendToAddress, uint16_t sendToPort) noexcept;
79 std::pair<ssize_t, int32_t> send(std::string &&data)
const noexcept;
85 uint16_t getSendFromPort()
const noexcept;
88 mutable std::mutex m_socketMutex{};
90 uint16_t m_portToSentFrom{0};
91 struct sockaddr_in m_sendToAddress {};
#define LIBCLUON_API
Definition: cluon.hpp:56
Definition: UDPSender.hpp:56