Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in Computer Networks (CITS3002).
Before posting a question here, you may like to read the article How To Ask Questions The Smart Way.
RSS cloud
Jump to:

When is the file descriptors in Select() 'ready'?

1 of 768 articles shown, currently no other people reading this forum.
From: Edward A.
Date: Fri 5th Jun, 2:55pm


One thing I found the hard way with select was that if you set your writable or error-able file descriptors to anything but NULL or your language equivalent you'll burn your CPU up really fast as every file descriptor will be arbitrarily writable on each loop. 

Related articles

When is the file descriptors in Select() 'ready'? (all 5) RSS
├─ original hot Thu 4th Jun, 4:34pm, ANONYMOUS
├─ reply 1   Thu 4th Jun, 5:39pm, Kirra F.
├─ reply 2   Thu 4th Jun, 5:58pm, Christopher M.
├─ THIS   Fri 5th Jun, 2:55pm, Edward A.
└─ reply 4   Sat 6th Jun, 8:38am, Christopher M.
This Page

Program written by: [email protected]
Feedback welcome
Last modified:  5:31am Aug 04 2020