Here is a slightly related question: When I get a file descriptor via an accept system call... lets say the remote client closes the connection pre-maturely. Will that file descriptor be re-assigned by Linux BEFORE I call cose on it? If so, that may be the problem I'm having. Thanks Lee ------Original Message------ From: Mark Hahn <hahn@coffee.psychology.mcmaster.ca> To: Mal Hacker <malhacker@yahoo.com> Sent: April 23, 2001 2:35:01 PM GMT Subject: Re: (Simple) problem with sockets > probably there is a solution like, when u get a > fd then just call "dup" on that fd and get the newfd. and notice that dup2 actually lets *you* choose the final fd; you don't even have to assume this "lowest-available" policy. ______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org