Re: Setting timeout for read api

2006-03-06 Thread David Schwartz
"Paul Rubin" wrote in message news:[EMAIL PROTECTED] > "Swaroop" <[EMAIL PROTECTED]> writes: >> PLS HELP..I am working on socket programming as part of my final year >> project. I want to know how to set a timeout on read api that reads >> from a socket. Is it possibl

Re: Setting timeout for read api

2006-03-04 Thread Paul Rubin
"Swaroop" <[EMAIL PROTECTED]> writes: > PLS HELP..I am working on socket programming as part of my final year > project. I want to know how to set a timeout on read api that reads > from a socket. Is it possible using SIGALRM signal?Will setting > O_NONBLOCK flag of the socket help? Is there any ot