LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-17-2013, 03:26 AM   #1
crazymind
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
nini09
Member
 
Registered: Apr 2009
Posts: 915

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 08:09 AM.

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