41 printf(
"Received %f for service %d\n", *buf, *tag);
54 printf(
"Received ONCE_ONLY : %s\n",
buff);
64 printf(
"DNS node = %s\n",node);
65 printf(
"size = %d\n",*size);
66 memcpy(&t, buf, *size);
67 printf(
"t.i = %d, t.d = %2.2f, t.s = %d, t.c = %c, t.f = %2.2f, t.str = %s\n",
72 str[strlen(str)-1] =
'\0';
73 printf(
"timestamp = %s.%d\n",str,millis);
78 printf(
"%s Received %s for Service%03d\n",
client_str,buf, *tag);
125 for(i = 0; i< 100000; i++)
127 sprintf(aux,
"%s/ServiceMany%05d",argv[2],i);
132 sprintf(aux,
"%s/TEST_CMD",argv[2]);
void rout_many(int *tag, float *buf, int *size)
#define my_ctime(t, str, size)
main(int argc, char **argv)
unsigned dic_info_service(char *serv_name, int req_type, int req_timeout, void *serv_address, int serv_size, void(*usr_routine)(), dim_long tag, void *fill_addr, int fill_size)
int dic_get_id(char *name)
void rout(int *tag, char *buf, int *size)
int dic_cmnd_service(char *serv_name, void *serv_address, int serv_size)
int dic_get_dns_node(char *node)
void dim_print_date_time()
sprintf(name1,"NewService%d", i)
int dic_get_timestamp(unsigned serv_id, int *secs, int *milisecs)