<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">Hai ca dupa inca o repriza de injuraturi am rezolvat singur problema. Era una simpla ca majoritatea bugurilor scarboase.<br><br>before:<br><br>rez = mq_receive(q_gateway, (char*)&c, sizeof(Command), &prio);<br><br>now:<br><br>struct mq_attr attr;<br>mq_getattr(q_gateway,&attr);<br>rez = mq_receive(q_gateway, (char*)&c, attr.mq_msgsize, &prio);<br><br>Acum merge si cand face clientul coada.<br><br>Alex.<br></div></body></html>