LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   FD_ISSET in Select function Socket Programming (https://www.linuxquestions.org/questions/linux-networking-3/fd_isset-in-select-function-socket-programming-4175445988/)

crazymind 01-17-2013 03:26 AM

FD_ISSET in Select function Socket Programming
 
Hello I'm a newbie for Socket Programming.

Can someone explain me what this FD_ISSET(FD , fd_set) does?..

I want to send data to some clients in a Socket program. Can I use the FD_ISSET function to check the availability of clients??..

nini09 01-17-2013 02:23 PM

Yes, you can use FD_ISSET to check whether the socket is ready. Normally, it bind with select() function to support concurrent server.


All times are GMT -5. The time now is 05:18 PM.