Serverul o sa primeasca EPOLLERR sau EPOLLHUP, astea acopera toate cazurile de inchidere a conexiunii. In ambele cazuri ar trebui sa faci drop la client.<br><br><div><span class="gmail_quote">On 12/16/06, <b class="gmail_sendername">
Daniel Baluta</b> <<a href="mailto:danielbaluta@yahoo.com">danielbaluta@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;">
Salut,<br>Ce ar trebui sa faca clientul inainte de a-si inceta executia.Care este modul corect in care se inchide conexiunea.<br>Daca eu dau return 1 in client imediat dupa ce a terminat de afisat ce a primit de la client apar probleme in server.
<br>Ce primeste server-ul in cazul in care clientul iese normal fara a se preocupa de inchiderea conexiunii si ce primeste serverul in cazul in care clientul face shutdown?<br><span class="ad"><p>
</p><hr size="1">Access over 1 million songs - <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Yahoo! Music Unlimited.
</a>
<p></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>