Re: lug-bg: fork, programirane
- Subject: Re: lug-bg: fork, programirane
- From: rsd@xxxxxxxxxxxxx (Dimo Dimitrov-DataManagement)
- Date: Fri, 5 May 2000 17:56:49 +1000
zdrawejte,
>10x -- tova closeva conection otkum clienta. Servera obace ne se closeva.
>Kakto i da e. Ako na niakoi mu e interesno namerih tutorial na
>www.cs.cf.ac.uk/Dave/C/CE.html
>predpolagam, ce moze da se drupne s wget.
>
>Victor Senderov
>
Da, servera ne se closeva zashtoto otiva na :
new_fd = accept (sockfd, (struct sockaddr *)&their_addr,
&sin_size);
i chaka ako niama connection pending.
Ako iskash samo edin connection da se izpylni ot servera, prosto komentirai
:
// while (1)
chao: Dimo
<HR>
<UL>
<LI>application/x-pkcs7-signature \\\\\\\\\ \\\\: smime.p7s
</UL>
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|