summaryrefslogtreecommitdiffstats
path: root/src/main_client.cpp
diff options
context:
space:
mode:
authorTobias Frust <tobiasfrust@gmail.com>2016-07-11 14:58:00 +0200
committerTobias Frust <tobiasfrust@gmail.com>2016-07-11 14:58:00 +0200
commitd71e5fe7330fa51cdce466ec0df876eb9b8e721e (patch)
tree35642a156031e14aae504ecee46dea74558597a4 /src/main_client.cpp
parent0c33319451deec9b5461b57856423bc619817245 (diff)
downloadods-d71e5fe7330fa51cdce466ec0df876eb9b8e721e.tar.gz
ods-d71e5fe7330fa51cdce466ec0df876eb9b8e721e.tar.bz2
ods-d71e5fe7330fa51cdce466ec0df876eb9b8e721e.tar.xz
ods-d71e5fe7330fa51cdce466ec0df876eb9b8e721e.zip
UDP packets are sent out correctly
Diffstat (limited to 'src/main_client.cpp')
-rw-r--r--src/main_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main_client.cpp b/src/main_client.cpp
index ed7d285..b88341a 100644
--- a/src/main_client.cpp
+++ b/src/main_client.cpp
@@ -24,9 +24,9 @@ int main (int argc, char *argv[]){
std::cout << "Sending UDP packages: " << std::endl;
auto configPath = std::string { "config.cfg" };
- std::string address = "localhost";
+ std::string address = "127.0.0.1";
- Detector detector{address, configPath, 1000u};
+ Detector detector{address, configPath, 1000000u};
//DetectorModule detModule0 = DetectorModule(1, address, configPath);