hi all,
I wrote a client -server chatting program in C. I work on linux .
The problem is : how do I make the server wait for the client to respond .
I have used the select() function and set the tv parameter to some appropriate value. I have read the BEEJ's GUIDE ,but I could not clearly comprehend the exact funcion of the seletct() procedure...He has explained how to juggle around with multiple ports,but does not go in depth into "delay" aspects..
Can anyone help me on this by sending pieces of code or may be directing me to an online resource which explains the select() procedure with examples

thanks..