Cred ca stiu ce e. E greu reproductibila problema, dar e cauzata de faptul ca in mod normal pe localhost nu se fragmenteaza pachetele trimise, dar uneori se poate intampla asta. Trebuie sa prinzi un caz din asta si sa analizezi logurile programului tau :).
<br>Good luck!<br><br><br><div><span class="gmail_quote">On 12/19/06, <b class="gmail_sendername">Cristi B</b> <<a href="mailto:cristib84@yahoo.com">cristib84@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
La mine testul 21 pica cam in 50% din cazuri.<br>Totusi nu reusesc sa reproduc problema manual, adica sa rulez eu din 2 shelluri:<br> ./server<br>si<br> ./client <a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
127.0.0.1</a> wr myfiles/input.txt 0 1048576 < input.txt; diff input.txt myfiles/input.txt<br><br>"input.txt" e generat cu programul ./generate.<br><br>Am rulat comanda de client de zeci de ori si nu crapa serverul nici nu imi zice ca difera fisierele.
<br><br>In conditiile astea de ce imi zice ca pica testul 21 ?<br><span class="ad"><p> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around
<br><a href="http://mail.yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.yahoo.com</a>
</p></span><br>_______________________________________________<br>so mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so" target="_blank">
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so</a><br><br><br></blockquote></div><br>