summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorTobias Frust <tobiasfrust@gmail.com>2016-06-30 10:13:01 +0200
committerTobias Frust <tobiasfrust@gmail.com>2016-06-30 10:13:01 +0200
commit5680aa99001cb50c707c4187cd8ada0c41a573dd (patch)
treefcbe575cd20e35dbe3d2b7def5e7c801d576aaf8 /src/main.cpp
parent1dc95b4eed7974549ef43a87e0777aa343b30fd4 (diff)
downloadods-5680aa99001cb50c707c4187cd8ada0c41a573dd.tar.gz
ods-5680aa99001cb50c707c4187cd8ada0c41a573dd.tar.bz2
ods-5680aa99001cb50c707c4187cd8ada0c41a573dd.tar.xz
ods-5680aa99001cb50c707c4187cd8ada0c41a573dd.zip
implemented virtual DetectorModule with simple send via udp
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp27
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;
-
-}