// db_dim_client.c : Defines the entry point for the console application. // // Dietrich Beck // // This is a very simple DIM service. It listens to a DIM service // "SERV_BY_BUFFER" via a callback routine. Each time THIS client // receives a service, it sends a new command to the DIM server. #include #include #define BUFFSIZE 10000000 int buffer[BUFFSIZE]; int buff[BUFFSIZE]; char message[1024]; int no_link = -1; int version; int counter; int lastValue; int i; unsigned service_id; serv_received(tag,address,size) int *tag; char *address; int *size; { for (i=0;i