[so] Client exit

cosminratiu at gmail.com cosminratiu at gmail.com
Sat Dec 16 23:56:37 EET 2006


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.

On 12/16/06, Daniel Baluta <danielbaluta at yahoo.com> wrote:
>
> Salut,
> Ce ar trebui sa faca clientul inainte de a-si inceta executia.Care este
> modul corect in care se inchide conexiunea.
> Daca eu dau return 1 in client imediat dupa ce a terminat de afisat ce a
> primit de la client apar probleme in server.
> 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?
>
> ------------------------------
> Access over 1 million songs - Yahoo! Music Unlimited.<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/>
>
>
> _______________________________________________
> so mailing list
> so at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/so/attachments/20061216/a8c6765f/attachment.htm


More information about the so mailing list