On Tue, Mar 02, 2004 at 04:56:17PM +0100, august wrote:
actually, I think Tom's suggest was on track....to set the socket in non-blocking mode, and then mabey poll() the filedescriptor ?????
Most of the literature I've read (such as _Linux Socket Programming_ by Que publishing) seems to suggest setting up the socket and then using select to check for data periodically. You should do the same for detecting a time-out as someone else has suggested.
Regards,
Chris. --------------------------------- chris@mccormick.cx http://www.mccormick.cx http://www.sciencegirlrecords.com ---------------------------------