Re: help with socket programming[OFF TOPIC]
Quoting Shao Zhang ([EMAIL PROTECTED]): > > while (1) { > if ((NewHandle = accept(CGIHandle, (struct sockaddr > *)&CGI_addr, \ > &sin_size)) == -1) { > perror("cannot accept"); > continue; > } > >
help with socket programming[OFF TOPIC]
Hi, Sorry about the none debian specific question. I am writing a server which will handle all the cgi request coming from our website. My server function looks like this: while (1) { if ((NewHandle = accept(CGIHandle, (struct sockaddr *)&C