printf("%d <-\n",c);
network_send(gnet->connection[0].fd,&dc,1);
- /*
+ network_receive(gnet->connection[0].fd,&data,sizeof(unsigned char));
+ printf("debug: sent dc\n");
+
network_send(gnet->connection[0].fd,(unsigned char *)gd3_l,
sizeof(d3_lattice));
+ network_receive(gnet->connection[0].fd,&data,sizeof(unsigned char));
+ printf("debug: sent d3_lattice\n");
+
network_send(gnet->connection[0].fd,(unsigned char *)gmy_info,sizeof(info));
- */
- printf("debug: sent dc\n");
+ network_receive(gnet->connection[0].fd,&data,sizeof(unsigned char));
+ printf("debug: sent info\n");
+
network_send(gnet->connection[0].fd,gd3_l->status,c*sizeof(unsigned char));
network_receive(gnet->connection[0].fd,&data,sizeof(unsigned char));
printf("debug: sent ac\n");
+
network_send(gnet->connection[0].fd,(unsigned char *)gd3_l->extra,
c*sizeof(int));
network_receive(gnet->connection[0].fd,&data,sizeof(unsigned char));
printf("debug: sent cc\n");
+
network_send(gnet->connection[0].fd,(unsigned char *)gi,sizeof(int));
network_receive(gnet->connection[0].fd,&data,sizeof(unsigned char));
+ printf("debug: sent steps\n");
}