hi, Can anyone help me in solving the following issue. I am using a select() call from within a while loop in which i have to repeatedly read incoming messages on the same socket. I learnt that once the "select" call is executed, the fd-set used with the call will be cleared automatically. I tried making a local copy of the the fd-set using bcopy/memcpy (for every iteration) before invoking the call, but am unable to make a consistent copy of the fd-set [i.e., sometimes it gets copied and sometimes not]. Is there any other way of preserving the fd-set value even after the select() call?? --Sriram. __________________________________ Sign up for your free netster.com email account today! http://mail.netster.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/