Tcp/ip question.

If i have a server, using select() to determine wethere if there is some
data to read, then calls recv()…it calls this selection
function every 1 second…

then the client use write () to send data to server every 5 second via

Should my select function keep changing values, 1 out of 5 time saying
‘yes’, there is something to read,
and 4 out of 5 times saing ‘no’…

if this is the case, My select() doesnt work right. yet. anyone help?