#include "UDPClient/UDPClient.h" #include #include int main (int argc, char *argv[]){ std::cout << "Sending UDP packages: " << std::endl; std::string address = "192.168.178.33"; int port = 1234; UDPClient client = UDPClient(address, port); std::size_t length{8008}; char buf[length]; for(auto i = 0; i < length; i++){ *(buf+i) = i%128; } client.send(buf, length); return 0; }