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

help3002


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.
 
Options:
RSS cloud
Jump to:

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

1 of 768 articles shown, currently no other people reading this forum.
photo
From: ANONYMOUS
Date: Thu 4th Jun, 4:34pm
Summary: hot
Actions: 
        Login-to-reply

 

Hi,

I'm having an issue with the select() function since it doesn't block when called. 
The way I understand select() is when called and one of the file descriptors is 
'ready' like an incoming tcp request, then it should unblock. When I call select(), 
my file descriptors seem to be always ready. I'm not sure how to resolve this since I 
don't know what the function is doing to determine a file descriptor is ready or not. 

Another question is with the assignment, if you got the extension to the 2nd of June, 
does the 5% each day reduction in mark start from that day?

Thanks.

Related articles

When is the file descriptors in Select() 'ready'? (all 5) RSS
├─ THIS 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.
├─ reply 3   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