[PD-dev] socket gurus

Chris McCormick chris at mccormick.cx
Wed Mar 3 02:55:20 CET 2004


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 at mccormick.cx
http://www.mccormick.cx
http://www.sciencegirlrecords.com
---------------------------------




More information about the Pd-dev mailing list