5#ifndef WPINET_UDPCLIENT_H_
6#define WPINET_UDPCLIENT_H_
22 std::string m_address;
41 int receive(uint8_t* data_received,
int receive_len);
42 int receive(uint8_t* data_received,
int receive_len,
This file defines the SmallVector class.
Definition: UDPClient.h:19
UDPClient & operator=(const UDPClient &other)=delete
UDPClient(const UDPClient &other)=delete
int set_timeout(double timeout)
UDPClient(std::string_view address, Logger &logger)
UDPClient(Logger &logger)
UDPClient & operator=(UDPClient &&other)
int send(std::span< const uint8_t > data, std::string_view server, int port)
int send(std::string_view data, std::string_view server, int port)
UDPClient(UDPClient &&other)
int receive(uint8_t *data_received, int receive_len, SmallVectorImpl< char > *addr_received, int *port_received)
int receive(uint8_t *data_received, int receive_len)
basic_string_view< char > string_view
Definition: core.h:501
Definition: ntcore_cpp.h:26