aboujouj83
IS-IT--Management
This question is related to the one I asked before:
"I am reading unix netwrok programming volume 1 by stevens. It's a known book for network programming...."
I am still trying to understand well the code in figure 6.22 p166. There is one point that I still don't understand why is why the nready variable is decremented twice i.e once in line 43 and another time in line 58! I think that it should be only decremented once for each pass of the for(;
loop.
Waiting for your clarification
Aboujouj
"I am reading unix netwrok programming volume 1 by stevens. It's a known book for network programming...."
I am still trying to understand well the code in figure 6.22 p166. There is one point that I still don't understand why is why the nready variable is decremented twice i.e once in line 43 and another time in line 58! I think that it should be only decremented once for each pass of the for(;
Waiting for your clarification
Aboujouj