/* wait for job */
event_math(net.connection[0].fd,&event,READ,ADD);
+ printf("idle, waiting for jobs ...\n");
event_start(&event,NULL,get_data_and_calc,NULL);
return 1;
gmy_info=&my_info;
gi=&i;
dc=0;
+
+ printf("got a new job ...\n");
/* get info (+data) */
network_receive(net->connection[0].fd,data,1);