I needed some help with unix socket programming.i have the richard steven's book but couldnt solve this.
i need a socket descriptor handle to process all my clients which fork out.but the handle i was using new_fd(see below) turned out to be the same for all. listen(..,..) for(;;) { int new_fd=accept(sockfd,....,...); ... .... } Shouldnt the new_fd be distinct everytime a new client connects? Thanks in advance, Vinod __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message