Commit 24c45067 authored by 's avatar
Browse files

Added packet numbers


git-svn-id: file:///home/svn/mapi/trunk@339 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent e69ac16a
......@@ -257,12 +257,17 @@ int main(int argc, char *argv[])
fprintf(stderr, "%s: gettimeofday() failed\n", __func__);
exit(-1);
}
printf("1 %u.%u %d %d %d %d %d\n", (unsigned int)tm.tv_sec,
(unsigned int)tm.tv_usec, rand()%1000, rand()%1000,
rand()%1000, rand()%1000, rand()%1000);
printf("2 %u.%u %d %d %d %d %d\n", (unsigned int)tm.tv_sec,
(unsigned int)tm.tv_usec, rand()%1000, rand()%1000,
rand()%1000, rand()%1000, rand()%1000);
printf("1 %u.%u %d/%d %d/%d %d/%d %d/%d %d/%d\n",
(unsigned int)tm.tv_sec, (unsigned int)tm.tv_usec,
rand()%1000, rand()%1000, rand()%1000, rand()%1000,
rand()%1000, rand()%1000, rand()%1000, rand()%1000,
rand()%1000, rand()%1000);
printf("2 %u.%u %d/%d %d/%d %d/%d %d/%d %d/%d\n",
(unsigned int)tm.tv_sec, (unsigned int)tm.tv_usec,
rand()%1000, rand()%1000, rand()%1000, rand()%1000,
rand()%1000, rand()%1000, rand()%1000, rand()%1000,
rand()%1000, rand()%1000);
usleep(100000);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment