diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/main.cpp b/src/main.cpp deleted file mode 100644 index 6898a09..0000000 --- a/src/main.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "UDPClient/UDPClient.h" - -#include <iostream> -#include <string> - -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; - -} |