diff --git a/WindowsDriver/WindowsDriver/main.cpp b/WindowsDriver/WindowsDriver/main.cpp index e4677c7..44b4dfb 100644 --- a/WindowsDriver/WindowsDriver/main.cpp +++ b/WindowsDriver/WindowsDriver/main.cpp @@ -4,11 +4,11 @@ int main(int argc, char* argv[]) { - /* + if (argc < 2) { return -1; - }*/ - feeder* f = new feeder("192.168.1.158", 1182); + } + feeder* f = new feeder(argv[1], 1182); int res = f->connect(); printf("%d\n", res); f->start_feeder_thread();