probably stupid questions about select() and FS_SET in a multithreaded environment [ select() failed (Bad file descriptor) ]

2011-10-16 Thread Vikash Badal
Greetings, Can some point me in the correction direction please. I have a treaded socket application that has a problem with select() returning -1. The select() and accept() is taken care of in one thread. The worker threads deal with client requests after the new client connection is pushed

Re: probably stupid questions about select() and FS_SET in a multithreaded environment [ select() failed (Bad file descriptor) ]

2011-10-16 Thread Tijl Coosemans
On Sunday 16 October 2011 18:18:39 Vikash Badal wrote: Greetings, Can some point me in the correction direction please. I have a treaded socket application that has a problem with select() returning -1. The select() and accept() is taken care of in one thread. The worker threads deal