summaryrefslogtreecommitdiff
path: root/tools/ivyperf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ivyperf.c')
-rw-r--r--tools/ivyperf.c8
1 files changed, 8 insertions, 0 deletions
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':