31 printf(
"Command received, size = %d, TT size = %d:\n", *size,
33 printf(
"buf->i = %d, buf->d = %2.2f, buf->s = %d, buf->c = %c, buf->f = %2.2f, buf->str = %s\n",
34 buf->
i,buf->
d,buf->
s,buf->
c,buf->
f,buf->
str);
44 printf(
"Client %s (%d) exited\n", name, *tag);
46 printf(
"Client %d exited\n", *tag);
52 printf(
"Exit_cmnd %d\n", *code);
70 for(i = 0; i< 10; i++)
85 strcpy(t.
str,
"hello world");
103 for(i = 0; i< 100000; i++)
106 sprintf(straux,
"%s/ServiceMany%05d",argv[1],i);
113 printf(
"client %s\n",name);
144 printf(
"Start updating\n");
145 for(i = 0; i< 100000; i++)
159 printf(
"Stop updating\n");
main(int argc, char **argv)
void exit_cmnd(int *code)
void dtq_start_timer(int time, void(*user_routine)(), dim_long tag)
#define dis_start_serving
#define dis_update_service
void dim_print_date_time()
#define dis_add_exit_handler
#define dis_add_client_exit_handler
void cmnd_rout(int *tag, TT *buf, int *size)
sprintf(name1,"NewService%d", i)
void client_exited(int *tag)