From 5443d6828eaf5cbc7dc4613d9d75b4c192d17730 Mon Sep 17 00:00:00 2001 From: Vincent Peyruqueou Date: Mon, 27 Mar 2023 11:43:54 +0200 Subject: Microsoft Visual Studio (2022) solution to test IVY (perf and test ready) --- tools/ivyperf.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tools/ivyperf.c') diff --git a/tools/ivyperf.c b/tools/ivyperf.c index a7845f0..823f516 100644 --- a/tools/ivyperf.c +++ b/tools/ivyperf.c @@ -40,6 +40,11 @@ extern int optind; #include "ivyloop.h" #define MILLISEC 1000.0 +//const char* IVY_ADDR = "127.0.0.255"; +//const char* IVY_ADDR = "192.168.1.255"; +//const char* IVY_ADDR = "10.33.39.255"; +//const char* IVY_PORT = "2023"; + const char *mymessages[] = { "IvyPerf", "ping", "pong" }; static double origin = 0; int nbMsgReceive=0; @@ -123,11 +128,14 @@ void binCB( IvyClientPtr app, void *user_data, int id, const char* regexp, IvyB } } + int main(int argc, char *argv[]) { long time=200; int c; const char * bus = NULL; + //const char* bus = "192.168.1.255:2023"; + while ((c = getopt(argc, argv, "b:")) != EOF) switch (c) { case 'b': -- cgit v1.1