Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-17-2013, 03:26 AM   #1
LQ Newbie
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
Smile 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??..
Old 01-17-2013, 02:23 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,582

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket Programming making use of "select()" and "writefds" johncsl82 Programming 10 11-13-2011 12:27 PM
Socket programming select interface virtualCoder Programming 2 01-16-2010 09:52 PM
socket programming function to read/write integers? ashlesha Linux - Networking 4 04-25-2007 10:45 PM
FD_ISSET signals new data on remotely closed socket Kristofer Programming 3 04-06-2007 07:58 PM
Select() did not select my socket thvo Programming 1 05-08-2005 12:20 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration